| @@ -80,14 +80,14 @@ discard block | ||
| 80 | 80 | // | 
| 81 | 81 | // TODO: realpath will return void if the path does not exist | 
| 82 | 82 | // we should not depend on the file path existing. | 
| 83 | -            $pathPrefixes = array_map(function ($pathPrefix) { | |
| 83 | +            $pathPrefixes = array_map(function($pathPrefix) { | |
| 84 | 84 | return Path::canonicalize($pathPrefix); | 
| 85 | 85 | }, $pathPrefixes); | 
| 86 | 86 | |
| 87 | 87 |              foreach ($pathPrefixes as $pathPrefix) { | 
| 88 | 88 | |
| 89 | 89 |                  if ((string) $filePath == $pathPrefix) { | 
| 90 | - $candidates[] = [ $pathPrefix, $classPrefix ]; | |
| 90 | + $candidates[] = [$pathPrefix, $classPrefix]; | |
| 91 | 91 | continue; | 
| 92 | 92 | } | 
| 93 | 93 | |
| @@ -103,7 +103,7 @@ discard block | ||
| 103 | 103 | } | 
| 104 | 104 | } | 
| 105 | 105 | |
| 106 | -        usort($candidates, function (array $leftCandidate, array $rightCandidate): int { | |
| 106 | +        usort($candidates, function(array $leftCandidate, array $rightCandidate): int { | |
| 107 | 107 | return strlen($rightCandidate[0]) <=> strlen($leftCandidate[0]); | 
| 108 | 108 | }); | 
| 109 | 109 | |