1
0
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:
Leigh 2013-11-15 00:15:17 +00:00
parent feddb76a9a
commit 70654d9557

View File

@ -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';