@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public function exists(string $key): bool |
78 | 78 | { |
79 | - if (! $this->configurator->exists($key)) { |
|
79 | + if (!$this->configurator->exists($key)) { |
|
80 | 80 | $config = explode('.', $key); |
81 | 81 | $this->load($config[0]); |
82 | 82 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | public function missing(string $key): bool |
101 | 101 | { |
102 | - return ! $this->exists($key); |
|
102 | + return !$this->exists($key); |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
@@ -180,18 +180,18 @@ discard block |
||
180 | 180 | } |
181 | 181 | $this->load($conf, $file, null, $allow_empty); |
182 | 182 | } |
183 | - } elseif (! isset(self::$loaded[$config])) { |
|
183 | + } elseif (!isset(self::$loaded[$config])) { |
|
184 | 184 | $file ??= self::path($config); |
185 | 185 | $schema ??= self::schema($config); |
186 | 186 | |
187 | 187 | $configurations = []; |
188 | - if (file_exists($file) && ! in_array($file, get_included_files(), true)) { |
|
188 | + if (file_exists($file) && !in_array($file, get_included_files(), true)) { |
|
189 | 189 | $configurations = (array) require $file; |
190 | 190 | } |
191 | 191 | |
192 | 192 | $configurations = Arr::merge(self::$registrars[$config] ?? [], $configurations); |
193 | 193 | |
194 | - if (empty($configurations) && ! $allow_empty && ! is_a($schema, Schema::class, true)) { |
|
194 | + if (empty($configurations) && !$allow_empty && !is_a($schema, Schema::class, true)) { |
|
195 | 195 | return; |
196 | 196 | } |
197 | 197 | |
@@ -319,7 +319,7 @@ discard block |
||
319 | 319 | $methods = $class->getMethods(ReflectionMethod::IS_STATIC & ReflectionMethod::IS_PUBLIC); |
320 | 320 | |
321 | 321 | foreach ($methods as $method) { |
322 | - if (! is_array($result = $method->invoke(null))) { |
|
322 | + if (!is_array($result = $method->invoke(null))) { |
|
323 | 323 | continue; |
324 | 324 | } |
325 | 325 | |
@@ -391,12 +391,12 @@ discard block |
||
391 | 391 | { |
392 | 392 | $config = $this->get('app.show_debugbar', 'auto'); |
393 | 393 | |
394 | - if (! in_array($config, ['auto', true, false], true)) { |
|
394 | + if (!in_array($config, ['auto', true, false], true)) { |
|
395 | 395 | self::exceptBadConfigValue('show_debugbar', ['auto', true, false], 'app'); |
396 | 396 | } |
397 | 397 | |
398 | 398 | if ($config === 'auto') { |
399 | - $this->set('app.show_debugbar', ! is_online()); |
|
399 | + $this->set('app.show_debugbar', !is_online()); |
|
400 | 400 | } |
401 | 401 | } |
402 | 402 |