@@ -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 | } |
@@ -88,9 +88,9 @@ |
||
88 | 88 | |
89 | 89 | $ex = 0; |
90 | 90 | |
91 | - async(function () { |
|
91 | + async(function() { |
|
92 | 92 | yield $this->getCommand()->execute($this->bootstrap); |
93 | - })->catch(function (Throwable $e) use (&$ex) { |
|
93 | + })->catch(function(Throwable $e) use (&$ex) { |
|
94 | 94 | $ex = 1; |
95 | 95 | $this->failure($e); |
96 | 96 | $this->exits(); |
@@ -124,6 +124,6 @@ |
||
124 | 124 | */ |
125 | 125 | private function provides() : array |
126 | 126 | { |
127 | - return (defined('CWD') && is_file($cf = CWD . '/commands.php')) ? (array) include $cf : []; |
|
127 | + return (defined('CWD') && is_file($cf = CWD.'/commands.php')) ? (array) include $cf : []; |
|
128 | 128 | } |
129 | 129 | } |