Browse Source

Use self:: for private method

Andreas Schempp 6 năm trước cách đây
mục cha
commit
05d6b21785
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();