@@ -92,6 +92,10 @@ discard block |
||
92 | 92 | fclose( $file ); |
93 | 93 | } |
94 | 94 | |
95 | + /** |
|
96 | + * @param resource $file |
|
97 | + * @param integer $indent |
|
98 | + */ |
|
95 | 99 | private function dumpForm( $file, $length, $indent ) { |
96 | 100 | $start = ftell( $file ); |
97 | 101 | $secondary = fread( $file, 4 ); |
@@ -165,6 +169,9 @@ discard block |
||
165 | 169 | } |
166 | 170 | } |
167 | 171 | |
172 | + /** |
|
173 | + * @param integer $chunkLength |
|
174 | + */ |
|
168 | 175 | private function skipChunk( $file, $chunkLength ) { |
169 | 176 | fseek( $file, $chunkLength, SEEK_CUR ); |
170 | 177 | |
@@ -174,6 +181,9 @@ discard block |
||
174 | 181 | } |
175 | 182 | } |
176 | 183 | |
184 | + /** |
|
185 | + * @param resource $file |
|
186 | + */ |
|
177 | 187 | private function getMultiPageInfo( $file, $formLength ) { |
178 | 188 | // For now, we'll just look for the first page in the file |
179 | 189 | // and report its information, hoping others are the same size. |
@@ -368,6 +378,9 @@ discard block |
||
368 | 378 | return $xml; |
369 | 379 | } |
370 | 380 | |
381 | + /** |
|
382 | + * @param string $line |
|
383 | + */ |
|
371 | 384 | function parseFormDjvu( $line, &$xml ) { |
372 | 385 | $parentLevel = strspn( $line, ' ' ); |
373 | 386 | $line = strtok( "\n" ); |
@@ -104,7 +104,6 @@ |
||
104 | 104 | * |
105 | 105 | * See OutputPage::buildExemptModules() for use cases. |
106 | 106 | * |
107 | - * @param array $modules Module state keyed by module name |
|
108 | 107 | */ |
109 | 108 | public function setExemptStates( array $states ) { |
110 | 109 | $this->exemptStates = $states; |