Update Frequency.php

This commit is contained in:
黄朝晖 2019-07-08 15:19:26 +08:00 committed by GitHub
parent 877bc20952
commit 4a90e6b7af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,10 +70,7 @@ class Frequency implements FrequencyInterface, LowFrequencyInterface
public function isLowFrequency(): bool
{
if ($this->frequency() < $this->lowFrequency) {
return true;
}
return false;
return $this->frequency() < $this->lowFrequency;
}
protected function flush(): void