ソースを参照

Use self:: for private method

Andreas Schempp 6 年 前
コミット
05d6b21785
1 ファイル変更1 行追加1 行削除
  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();