dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make use of the list() feature where it makes sense
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
LocalRepo.php
diff --git
a/includes/filerepo/LocalRepo.php
b/includes/filerepo/LocalRepo.php
index
b3eae90
..
bb65b0a
100644
(file)
--- 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
}