diff options
Diffstat (limited to 'maintenance/storage/checkStorage.php')
-rw-r--r-- | maintenance/storage/checkStorage.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/maintenance/storage/checkStorage.php b/maintenance/storage/checkStorage.php index 54add8a7334a..384ab296a1b1 100644 --- a/maintenance/storage/checkStorage.php +++ b/maintenance/storage/checkStorage.php @@ -400,7 +400,7 @@ class CheckStorage extends Maintenance { } } - private function addError( $type, $msg, $ids ) { + private function addError( string $type, string $msg, $ids ) { if ( is_array( $ids ) && count( $ids ) == 1 ) { $ids = reset( $ids ); } @@ -423,7 +423,7 @@ class CheckStorage extends Maintenance { $this->errors[$type] += array_fill_keys( $revIds, true ); } - private function checkExternalConcatBlobs( $externalConcatBlobs ) { + private function checkExternalConcatBlobs( array $externalConcatBlobs ) { if ( !count( $externalConcatBlobs ) ) { return; } @@ -465,7 +465,7 @@ class CheckStorage extends Maintenance { } } - private function restoreText( $revIds, $xml ) { + private function restoreText( array $revIds, string $xml ) { global $wgDBname; $tmpDir = wfTempDir(); |