Passed
Branchmaster (538d99)
by Thomas
03:15
created
src/Discovery/FindByNamespace.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
                     if (T_CLASS === $tokens[$index][0]) {
60 60
                         $index += 2; // Skip class keyword and whitespace
61 61
                         if (is_array($tokens[$index]) && array_key_exists(1, $tokens[$index])) {
62
-                            $this->data[] = $namespace . '\\' . $tokens[$index][1];
62
+                            $this->data[] = $namespace.'\\'.$tokens[$index][1];
63 63
                         }
64 64
                     }
65 65
                 }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     protected function filterData($needle)
71 71
     {
72
-        return array_values(array_filter($this->data, function ($var) use ($needle) {
72
+        return array_values(array_filter($this->data, function($var) use ($needle) {
73 73
             if (strpos($var, $needle) !== false) {
74 74
                 return true;
75 75
             }
Please login to merge, or discard this patch.