Merge "Add missing `@return` PHPDoc to __sleep() function"
[lhc/web/wiklou.git] / includes / libs / rdbms / ChronologyProtector.php
index 938e534..3e71e36 100644 (file)
@@ -202,7 +202,7 @@ class ChronologyProtector implements LoggerAwareInterface {
                        );
                }
 
-               if ( !count( $this->shutdownPositions ) ) {
+               if ( $this->shutdownPositions === [] ) {
                        return []; // nothing to save
                }