@@ -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 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | ->path('vendor') |
| 47 | 47 | ->files() |
| 48 | 48 | ->name('settings.default.php') |
| 49 | - ->filter(function (SplFileInfo $file) { |
|
| 49 | + ->filter(function(SplFileInfo $file) { |
|
| 50 | 50 | return (bool) preg_match('/\/app\/config\//', $file->getPathname()); |
| 51 | 51 | }); |
| 52 | 52 | |
@@ -19,8 +19,7 @@ |
||
| 19 | 19 | final 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 | // /** @var EventDispatcher $dispatcher */ |
| 26 | 25 | // $dispatcher = $event->getComposer()->getEventDispatcher(); |