Passed
Push — master ( ac3c5f...1ae773 )
by Thomas
02:32
created
src/Discovery/FindByNamespace.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     protected function getRealPath($phpFile)
75 75
     {
76 76
         if (Str::startsWith($this->path, ['phar'])) {
77
-            $realPath = $phpFile->getPath() . '/' . $phpFile->getFilename();
77
+            $realPath = $phpFile->getPath().'/'.$phpFile->getFilename();
78 78
         } else {
79 79
             $realPath = $phpFile->getRealPath();
80 80
         }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             if (T_CLASS === $tokens[$index][0]) {
98 98
                 $index += 2; // Skip class keyword and whitespace
99 99
                 if (is_array($tokens[$index]) && array_key_exists(1, $tokens[$index])) {
100
-                    $this->data[$realPath][] = $namespace . '\\' . $tokens[$index][1];
100
+                    $this->data[$realPath][] = $namespace.'\\'.$tokens[$index][1];
101 101
                 }
102 102
             }
103 103
         }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
     protected function filterData($needle)
108 108
     {
109
-        return array_values(array_filter($this->data[$this->path], function ($var) use ($needle) {
109
+        return array_values(array_filter($this->data[$this->path], function($var) use ($needle) {
110 110
             if (strpos($var, $needle) !== false) {
111 111
                 return true;
112 112
             }
Please login to merge, or discard this patch.