@@ -74,7 +74,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |