Completed
Push — master ( 685fa0...524af9 )
by Daniel
14s queued 10s
created
lib/Adapter/Composer/ComposerFileToClass.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,14 +80,14 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.