Completed
Push — master ( d491ac...25ed00 )
by Paweł
02:22
created
src/CommandFormTypeMap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function get($commandClass)
27 27
     {
28
-        $noneOrOneOrMore = function ($item) {
28
+        $noneOrOneOrMore = function($item) {
29 29
             if (is_array($item) && 0 === count($item)) {
30 30
                 return;
31 31
             } elseif (is_array($item) && 1 === count($item)) {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             return $noneOrOneOrMore(
42 42
                 array_filter(
43 43
                     $this->map,
44
-                    function ($key) use ($commandClass) {
44
+                    function($key) use ($commandClass) {
45 45
                         $pattern = sprintf('/%s$/', preg_quote('\\'.$commandClass));
46 46
 
47 47
                         return preg_match($pattern, $key, $matches);
Please login to merge, or discard this patch.
src/Console/EventListener/SetFormTypeOfFormBasedCommandEventListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $tokensReflection = $inputReflection->getProperty('tokens');
61 61
         $tokensReflection->setAccessible(true);
62 62
         $tokens = $tokensReflection->getValue($input);
63
-        $tokens = array_values(array_filter($tokens, function ($token) use ($commandName) {
63
+        $tokens = array_values(array_filter($tokens, function($token) use ($commandName) {
64 64
             return $commandName !== $token;
65 65
         }));
66 66
         $tokensReflection->setValue($input, $tokens);
Please login to merge, or discard this patch.