浏览代码

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();