Completed
Pull Request — master (#81)
by Greg
02:18
created
src/AnnotatedCommandFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         if (method_exists($this->getDataStore(), 'has') && !$this->getDataStore()->has($className)) {
187 187
             return [];
188 188
         }
189
-        $cache_data = (array) $this->getDataStore()->get($className);
189
+        $cache_data = (array)$this->getDataStore()->get($className);
190 190
         if (!$cache_data) {
191 191
             return [];
192 192
         }
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         // can never be commands.
247 247
         $commandMethodNames = array_filter(
248 248
             get_class_methods($classNameOrInstance) ?: [],
249
-            function ($m) {
249
+            function($m) {
250 250
                 return !preg_match('#^_#', $m);
251 251
             }
252 252
         );
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
         return $this->createSelectedCommandsFromClassInfo(
273 273
             $commandInfoList,
274 274
             $commandFileInstance,
275
-            function ($commandInfo) use ($includeAllPublicMethods) {
275
+            function($commandInfo) use ($includeAllPublicMethods) {
276 276
                 return static::isCommandMethod($commandInfo, $includeAllPublicMethods);
277 277
             }
278 278
         );
Please login to merge, or discard this patch.