mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 20:27:59 +08:00
Update Frequency.php
This commit is contained in:
parent
877bc20952
commit
4a90e6b7af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user