diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2013-11-01 17:32:42 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2013-11-01 17:32:42 +0400 |
commit | e8cdf15f449e6bcbac17bdc34137c1d0fec400bf (patch) | |
tree | 063079747714fedafeb7ef0c5b0c5130e103c43d /core/ScheduledTask.php | |
parent | d8cff3575059abd6636b13d07dcf83551b5e3841 (diff) |
Fixing build.
Diffstat (limited to 'core/ScheduledTask.php')
-rw-r--r-- | core/ScheduledTask.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/ScheduledTask.php b/core/ScheduledTask.php index b5d33feab7..5a03897351 100644 --- a/core/ScheduledTask.php +++ b/core/ScheduledTask.php @@ -78,12 +78,12 @@ class ScheduledTask * executed. * @param mixed|null $methodParameter An optional parameter to pass to the method when executed. * Must be convertible to string. - * @param ScheduledTime $scheduledTime A [ScheduledTime](#) instance that describes when the method - * should be executed and how long before the next execution. + * @param ScheduledTime|null $scheduledTime A [ScheduledTime](#) instance that describes when the method + * should be executed and how long before the next execution. * @param int $priority The priority of the task. Tasks with a higher priority will be executed first. * Tasks with low priority will be executed last. */ - public function __construct($objectInstance, $methodName, $methodParameter, ScheduledTime $scheduledTime, + public function __construct($objectInstance, $methodName, $methodParameter, $scheduledTime, $priority = self::NORMAL_PRIORITY) { $this->className = $this->getClassNameFromInstance($objectInstance); |