Completed
Pull Request — master (#81)
by Greg
02:12
created
src/Cache/CacheWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function get($key)
36 36
     {
37
-        return (array) $this->dataStore->get($key);
37
+        return (array)$this->dataStore->get($key);
38 38
     }
39 39
 
40 40
     /**
Please login to merge, or discard this patch.
src/AnnotatedCommandFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
         // can never be commands.
245 245
         $commandMethodNames = array_filter(
246 246
             get_class_methods($classNameOrInstance) ?: [],
247
-            function ($m) {
247
+            function($m) {
248 248
                 return !preg_match('#^_#', $m);
249 249
             }
250 250
         );
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         foreach ($commandMethodNames as $commandMethodName) {
253 253
             if (!array_key_exists($commandMethodName, $cachedCommandInfoList)) {
254 254
                 $commandInfo = CommandInfo::create($classNameOrInstance, $commandMethodName);
255
-                $commandInfoList[$commandInfo->getMethodName()] =  $commandInfo;
255
+                $commandInfoList[$commandInfo->getMethodName()] = $commandInfo;
256 256
             }
257 257
         }
258 258
 
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
         return $this->createSelectedCommandsFromClassInfo(
274 274
             $commandInfoList,
275 275
             $commandFileInstance,
276
-            function ($commandInfo) use ($includeAllPublicMethods) {
276
+            function($commandInfo) use ($includeAllPublicMethods) {
277 277
                 return static::isCommandMethod($commandInfo, $includeAllPublicMethods);
278 278
             }
279 279
         );
Please login to merge, or discard this patch.