mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
Checking one array, but using another
This commit is contained in:
parent
feddb76a9a
commit
70654d9557
@ -57,7 +57,7 @@ class NativeReactor implements Reactor {
|
||||
$this->enableAlarms();
|
||||
}
|
||||
|
||||
$timeToNextAlarm = $this->alarms
|
||||
$timeToNextAlarm = $this->alarmOrder
|
||||
? round(min($this->alarmOrder) - microtime(TRUE), 4)
|
||||
: '1.0';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user