Эх сурвалжийг харах

Use self:: for private method

Andreas Schempp 6 жил өмнө
parent
commit
05d6b21785

+ 1 - 1
src/Composer/Util/Zip.php

@@ -38,7 +38,7 @@ class Zip
             return null;
             return null;
         }
         }
 
 
-        $foundFileIndex = static::locateFile($zip, $filename);
+        $foundFileIndex = self::locateFile($zip, $filename);
         if (false === $foundFileIndex) {
         if (false === $foundFileIndex) {
             $zip->close();
             $zip->close();