Merge "ApiSetNotificationTimestamp: Make entirewatchlist more efficient"
[lhc/web/wiklou.git] / includes / libs / filebackend / filejournal / FileJournal.php
index 47be4eb..999594b 100644 (file)
@@ -97,7 +97,7 @@ abstract class FileJournal {
         * @return StatusValue
         */
        final public function logChangeBatch( array $entries, $batchId ) {
-               if ( !count( $entries ) ) {
+               if ( $entries === [] ) {
                        return StatusValue::newGood();
                }