mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/nginx: style -> put bracket in a separate line
This commit is contained in:
@@ -42,7 +42,8 @@ class AccessLogParser
|
||||
$this->parse_file();
|
||||
}
|
||||
|
||||
private function parse_file() {
|
||||
private function parse_file()
|
||||
{
|
||||
$handle = @fopen($this->file_name, 'r');
|
||||
if ($handle) {
|
||||
while (($buffer = fgets($handle)) !== false) {
|
||||
|
||||
@@ -43,7 +43,8 @@ class StreamAccessLogParser
|
||||
$this->parse_file();
|
||||
}
|
||||
|
||||
private function parse_file() {
|
||||
private function parse_file()
|
||||
{
|
||||
$handle = @fopen($this->file_name, 'r');
|
||||
if ($handle) {
|
||||
while (($buffer = fgets($handle)) !== false) {
|
||||
|
||||
Reference in New Issue
Block a user