Skip to content

Commit

Permalink
cast to int since we do a strict not equals
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Dec 14, 2020
1 parent abf4ea5 commit 0bba960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/CronArchive/SharedSiteIds.php
Expand Up @@ -68,7 +68,7 @@ public function setQueueWasReset()
private function getResetQueueTime()
{
Option::clearCachedOption($this->optionName . self::KEY_TIMESTAMP);
return Option::get($this->optionName . self::KEY_TIMESTAMP);
return (int) Option::get($this->optionName . self::KEY_TIMESTAMP);
}

public function getInitialSiteIds()
Expand Down

0 comments on commit 0bba960

Please sign in to comment.