1
0
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:
Daniel Lowrey 2013-11-27 11:56:29 -05:00
parent 290603e861
commit 5742c74a43
3 changed files with 3 additions and 5 deletions

2
src/Alert/Forkable.php Normal file → Executable file
View File

@ -3,8 +3,6 @@
namespace Alert;
interface Forkable {
function beforeFork();
function afterFork();
}

2
src/Alert/LibeventReactor.php Normal file → Executable file
View 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
View 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
*/