mirror of
https://github.com/danog/amp.git
synced 2025-01-22 05:11:42 +01:00
Removed trailing spaces
This commit is contained in:
parent
290603e861
commit
5742c74a43
2
src/Alert/Forkable.php
Normal file → Executable file
2
src/Alert/Forkable.php
Normal file → Executable file
@ -3,8 +3,6 @@
|
||||
namespace Alert;
|
||||
|
||||
interface Forkable {
|
||||
|
||||
function beforeFork();
|
||||
function afterFork();
|
||||
|
||||
}
|
||||
|
2
src/Alert/LibeventReactor.php
Normal file → Executable file
2
src/Alert/LibeventReactor.php
Normal file → Executable file
@ -128,7 +128,7 @@ class LibeventReactor implements Reactor, Forkable {
|
||||
$watcher->interval = $interval;
|
||||
$watcher->callback = $callback;
|
||||
$watcher->isRepeating = TRUE;
|
||||
|
||||
|
||||
$watcher->wrapper = $this->wrapRepeatingCallback($watcher);
|
||||
|
||||
$this->watchers[$watcherId] = $watcher;
|
||||
|
4
src/Alert/Reactor.php
Normal file → Executable file
4
src/Alert/Reactor.php
Normal file → Executable file
@ -41,10 +41,10 @@ interface Reactor {
|
||||
* @param float $interval The interval in seconds to observe between callback executions (zero is allowed)
|
||||
*/
|
||||
function repeat(callable $callback, $interval);
|
||||
|
||||
|
||||
/**
|
||||
* Schedule an event to trigger once at the specified time
|
||||
*
|
||||
*
|
||||
* @param callable $callback Any valid PHP callable
|
||||
* @param string $timeString Any string that can be parsed by strtotime() and is in the future
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user