@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | { |
94 | 94 | use LoggerTrait; |
95 | 95 | |
96 | - public function log($level, $message, array $context = []) |
|
96 | + public function log($level, $message, array $context = [ ]) |
|
97 | 97 | { |
98 | 98 | if ($level == LogLevel::ERROR) { |
99 | 99 | echo " \n! \033[31m" . $message . "\033[0m"; |
@@ -172,8 +172,8 @@ discard block |
||
172 | 172 | } |
173 | 173 | |
174 | 174 | return $this->orm->source(SnapshotRecord::class)->findOne( |
175 | - [], |
|
176 | - ['id' => SelectQuery::SORT_DESC] |
|
175 | + [ ], |
|
176 | + [ 'id' => SelectQuery::SORT_DESC ] |
|
177 | 177 | ); |
178 | 178 | } |
179 | 179 | |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | */ |
184 | 184 | protected function handleFileSnapshot(Snapshot $snapshot, bool $report = true) |
185 | 185 | { |
186 | - $this->app->getBootloader()->bootload([FileHandlerBootloader::class]); |
|
186 | + $this->app->getBootloader()->bootload([ FileHandlerBootloader::class ]); |
|
187 | 187 | |
188 | 188 | /** @var DelegateSnapshot $delegate */ |
189 | 189 | $delegate = $this->factory->make(DelegateSnapshot::class, [ |
@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | public function testFileRender() |
13 | 13 | { |
14 | - $this->app->getBootloader()->bootload([FileHandlerBootloader::class]); |
|
14 | + $this->app->getBootloader()->bootload([ FileHandlerBootloader::class ]); |
|
15 | 15 | |
16 | 16 | $snapshot = $this->makeSnapshot('File error', 123); |
17 | 17 | /** @var DelegateSnapshot $delegate */ |