@@ -289,7 +289,7 @@ |
||
289 | 289 | * @param string $table Table name |
290 | 290 | * @param string $field Field name to check |
291 | 291 | * @param string $patchFile Path to the patch to correct the field |
292 | - * @return bool |
|
292 | + * @return boolean|null |
|
293 | 293 | */ |
294 | 294 | protected function checkBin( $table, $field, $patchFile ) { |
295 | 295 | if ( !$this->doTable( $table ) ) { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
88 | - * @return array |
|
88 | + * @return string[] |
|
89 | 89 | */ |
90 | 90 | function getOrderFields() { |
91 | 91 | return array( 'rd_namespace', 'rd_title', 'rd_from' ); |
@@ -85,7 +85,7 @@ |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
88 | - * @return array |
|
88 | + * @return string[] |
|
89 | 89 | */ |
90 | 90 | function getOrderFields() { |
91 | 91 | return array( 'rd_namespace', 'rd_title', 'rd_from' ); |
@@ -243,6 +243,9 @@ |
||
243 | 243 | return $cond; |
244 | 244 | } |
245 | 245 | |
246 | + /** |
|
247 | + * @param string $key |
|
248 | + */ |
|
246 | 249 | function updateSortKeySizeHistogram( $key ) { |
247 | 250 | $length = strlen( $key ); |
248 | 251 | if ( !isset( $this->sizeHistogram[$length] ) ) { |
@@ -243,6 +243,9 @@ |
||
243 | 243 | return $cond; |
244 | 244 | } |
245 | 245 | |
246 | + /** |
|
247 | + * @param string $key |
|
248 | + */ |
|
246 | 249 | function updateSortKeySizeHistogram( $key ) { |
247 | 250 | $length = strlen( $key ); |
248 | 251 | if ( !isset( $this->sizeHistogram[$length] ) ) { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
88 | - * @return array |
|
88 | + * @return string[] |
|
89 | 89 | */ |
90 | 90 | function getOrderFields() { |
91 | 91 | return array( 'rd_namespace', 'rd_title', 'rd_from' ); |
@@ -37,6 +37,9 @@ |
||
37 | 37 | return $retVal; |
38 | 38 | } |
39 | 39 | |
40 | + /** |
|
41 | + * @param string $filename |
|
42 | + */ |
|
40 | 43 | public function setCurrentFile( $filename ) { |
41 | 44 | $this->currentFile = $filename; |
42 | 45 | } |
@@ -85,7 +85,7 @@ |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
88 | - * @return array |
|
88 | + * @return string[] |
|
89 | 89 | */ |
90 | 90 | function getOrderFields() { |
91 | 91 | return array( 'rd_namespace', 'rd_title', 'rd_from' ); |
@@ -243,6 +243,9 @@ |
||
243 | 243 | return $cond; |
244 | 244 | } |
245 | 245 | |
246 | + /** |
|
247 | + * @param string $key |
|
248 | + */ |
|
246 | 249 | function updateSortKeySizeHistogram( $key ) { |
247 | 250 | $length = strlen( $key ); |
248 | 251 | if ( !isset( $this->sizeHistogram[$length] ) ) { |