@@ -28,7 +28,7 @@ |
||
28 | 28 | $entry = new LogEntry(); |
29 | 29 | |
30 | 30 | foreach (array_filter(array_keys($data), 'is_string') as $key) { |
31 | - $entry->{$key} = trim($data[$key]); |
|
31 | + $entry->{$key} = trim($data[ $key ]); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | if (isset($entry->time)) { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | /** |
43 | 43 | * @var array |
44 | 44 | */ |
45 | - public $patterns = []; |
|
45 | + public $patterns = [ ]; |
|
46 | 46 | |
47 | 47 | /** |
48 | 48 | * @var string |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | */ |
75 | 75 | public function addPattern(string $placeholder, string $pattern): void |
76 | 76 | { |
77 | - $this->patterns[$placeholder] = $pattern; |
|
77 | + $this->patterns[ $placeholder ] = $pattern; |
|
78 | 78 | $this->updateIpPatterns(); |
79 | 79 | } |
80 | 80 |