X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Futils%2FZipDirectoryReader.php;h=bc849766edd5703d2ddaf62e965fa781ca4d6cec;hb=2682eb00aa37dc9ca203bd300d05424435b00cec;hp=0f56e337519438234f1e383eea35e4a80390deab;hpb=723a59730757cf31629027a567785145c5c131fa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/utils/ZipDirectoryReader.php b/includes/utils/ZipDirectoryReader.php index 0f56e33751..bc849766ed 100644 --- a/includes/utils/ZipDirectoryReader.php +++ b/includes/utils/ZipDirectoryReader.php @@ -129,6 +129,9 @@ class ZipDirectoryReader { /** * Private constructor + * @param string $fileName + * @param callable $callback + * @param array $options */ protected function __construct( $fileName, $callback, $options ) { $this->fileName = $fileName; @@ -359,6 +362,8 @@ class ZipDirectoryReader { /** * Read the central directory at the given location + * @param int $offset + * @param int $size */ function readCentralDirectory( $offset, $size ) { $block = $this->getBlock( $offset, $size ); @@ -450,6 +455,7 @@ class ZipDirectoryReader { /** * Interpret ZIP64 "extra field" data and return an associative array. + * @param string $extraField * @return array|bool */ function unpackZip64Extra( $extraField ) { @@ -575,6 +581,7 @@ class ZipDirectoryReader { /** * Get the size of a structure in bytes. See unpack() for the format of $struct. + * @param array $struct * @return int */ function getStructSize( $struct ) {