Passed
Push — master ( fdc5d2...680ea2 )
by Thomas
03:01
created
src/Discovery/FindByNamespace.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             if (T_CLASS === $tokens[$index][0]) {
73 73
                 $index += 2; // Skip class keyword and whitespace
74 74
                 if (is_array($tokens[$index]) && array_key_exists(1, $tokens[$index])) {
75
-                    $this->data[$this->path][] = $namespace . '\\' . $tokens[$index][1];
75
+                    $this->data[$this->path][] = $namespace.'\\'.$tokens[$index][1];
76 76
                 }
77 77
             }
78 78
         }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
     protected function filterData($needle)
83 83
     {
84
-        return array_values(array_filter($this->data[$this->path], function ($var) use ($needle) {
84
+        return array_values(array_filter($this->data[$this->path], function($var) use ($needle) {
85 85
             if (strpos($var, $needle) !== false) {
86 86
                 return true;
87 87
             }
Please login to merge, or discard this patch.