Explorar o código

Fixed docblocks

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

+ 4 - 3
src/Composer/Util/Zip.php

@@ -20,8 +20,8 @@ class Zip
     /**
      * Finds the path to a file inside a ZIP archive.
      *
-     * @param $pathToZip
-     * @param $filename
+     * @param string $pathToZip
+     * @param string $filename
      *
      * @return string|null
      */
@@ -55,7 +55,8 @@ class Zip
      * Find a file by name, returning the one that has the shortest path.
      *
      * @param \ZipArchive $zip
-     * @param string $filename
+     * @param string      $filename
+     *
      * @return bool|int
      */
     private static function locateFile(\ZipArchive $zip, $filename)