@@ -28,7 +28,7 @@ |
||
28 | 28 | $mod->ordered($idx); |
29 | 29 | } |
30 | 30 | |
31 | - uasort($mods, static function (Bootable $com1, Bootable $com2) { |
|
31 | + uasort($mods, static function(Bootable $com1, Bootable $com2) { |
|
32 | 32 | return $com1->priority() <=> $com2->priority(); |
33 | 33 | }); |
34 | 34 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | { |
36 | 36 | $this->boots = $boot; |
37 | 37 | |
38 | - yield defer(function ($e = null) use ($boot) { |
|
38 | + yield defer(function($e = null) use ($boot) { |
|
39 | 39 | if ($e instanceof Throwable) { |
40 | 40 | logger('console')->error('Application crashed', ['ec' => get_class($e), 'em' => $e->getMessage()]); |
41 | 41 | } |
@@ -116,7 +116,7 @@ |
||
116 | 116 | */ |
117 | 117 | private function provides() : array |
118 | 118 | { |
119 | - return (defined('CWD') && is_file($cf = CWD . '/commands.php')) ? (array) include $cf : []; |
|
119 | + return (defined('CWD') && is_file($cf = CWD.'/commands.php')) ? (array) include $cf : []; |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |
@@ -83,9 +83,9 @@ |
||
83 | 83 | $this->bootstrap->app()->inputs($input); |
84 | 84 | $this->bootstrap->kernel(); |
85 | 85 | |
86 | - async(function () { |
|
86 | + async(function() { |
|
87 | 87 | yield $this->getCommand()->execute($this->bootstrap); |
88 | - })->catch(function (Throwable $e) { |
|
88 | + })->catch(function(Throwable $e) { |
|
89 | 89 | dump('APP EXCEPTION', $e); |
90 | 90 | $this->exits(); |
91 | 91 | }); |