Passed
Push — master ( 76b450...5fc191 )
by Peter
02:19
created
src/Module/Manager.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public function getHttpBootstrappers(): array
80 80
     {
81
-        $callback = function (array $modules) {
81
+        $callback = function(array $modules) {
82 82
             $bootstrappers = [];
83 83
             foreach ($modules as $module) {
84 84
                 if (isset($module[Module::BOOTSTRAPPERS])) {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function getCliBootstrappers(): array
102 102
     {
103
-        $callback = function (array $modules) {
103
+        $callback = function(array $modules) {
104 104
             $bootstrappers = [];
105 105
             foreach ($modules as $module) {
106 106
                 if (isset($module[Module::BOOTSTRAPPERS])) {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function getCommands(): array
124 124
     {
125
-        $callback = function (array $modules) {
125
+        $callback = function(array $modules) {
126 126
             $commands = [];
127 127
             foreach ($modules as $module) {
128 128
                 if (isset($module[Module::COMMANDS])) {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      */
203 203
     protected function namedOptionsCallback(string $option): callable
204 204
     {
205
-        return function ($modules) use ($option) {
205
+        return function($modules) use ($option) {
206 206
             $merged = [];
207 207
             foreach ($modules as $module) {
208 208
                 if (!isset($module[$option])) {
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
      */
236 236
     protected function prioritizedOptionsCallback(string $option, bool $reversed = false): callable
237 237
     {
238
-        return function ($modules) use ($option, $reversed) {
238
+        return function($modules) use ($option, $reversed) {
239 239
             $merged = [];
240 240
             foreach ($modules as $module) {
241 241
                 if (!isset($module[$option])) {
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      */
280 280
     protected function simpleOptionCallback(string $option): callable
281 281
     {
282
-        return function ($modules) use ($option) {
282
+        return function($modules) use ($option) {
283 283
             $merged = [];
284 284
             foreach ($modules as $module) {
285 285
                 if (!isset($module[$option])) {
Please login to merge, or discard this patch.