Explorar o código

Use self:: for private method

Andreas Schempp %!s(int64=6) %!d(string=hai) anos
pai
achega
05d6b21785
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Util/Zip.php

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

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