diff options
Diffstat (limited to 'includes/filerepo/LocalRepo.php')
-rw-r--r-- | includes/filerepo/LocalRepo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/filerepo/LocalRepo.php b/includes/filerepo/LocalRepo.php index b3eae900ee6c..bb65b0ad8964 100644 --- a/includes/filerepo/LocalRepo.php +++ b/includes/filerepo/LocalRepo.php @@ -405,7 +405,7 @@ class LocalRepo extends FileRepo { * @return array[] An Array of arrays or iterators of file objects and the hash as key */ function findBySha1s( array $hashes ) { - if ( !count( $hashes ) ) { + if ( $hashes === [] ) { return []; // empty parameter } |