@@ -19,8 +19,7 @@ discard block |
||
19 | 19 | public static function defaultCommand(Event $event): void |
20 | 20 | { |
21 | 21 | $app = file_exists(TAISIYA_ROOT.'/bootstrap.php') |
22 | - ? require_once TAISIYA_ROOT.'/bootstrap.php': |
|
23 | - new App(); |
|
22 | + ? require_once TAISIYA_ROOT.'/bootstrap.php' : new App(); |
|
24 | 23 | |
25 | 24 | $dispatcher = $event->getComposer()->getEventDispatcher(); |
26 | 25 | |
@@ -75,7 +74,7 @@ discard block |
||
75 | 74 | ]) |
76 | 75 | ->files() |
77 | 76 | ->name('/settings\.default\.php$/') |
78 | - ->filter(function (SplFileInfo $file) { |
|
77 | + ->filter(function(SplFileInfo $file) { |
|
79 | 78 | return (bool) preg_match('/\/app\/config\//', $file->getPathname()); |
80 | 79 | }); |
81 | 80 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | public function register(Container $pimple) |
26 | 26 | { |
27 | - $pimple['app'] = function (Container $pimple) { |
|
27 | + $pimple['app'] = function(Container $pimple) { |
|
28 | 28 | return $this->app; |
29 | 29 | }; |
30 | 30 | } |