Missed one

This commit is contained in:
Dylan K. Taylor 2017-07-15 13:30:02 +01:00
parent 3e8825f826
commit 57e7c3d91f

View File

@ -95,7 +95,7 @@ class ServerScheduler{
* *
* @return void * @return void
*/ */
public function scheduleAsyncTaskToWorker(AsyncTask $task, $worker){ public function scheduleAsyncTaskToWorker(AsyncTask $task, int $worker){
if($task->getTaskId() !== null){ if($task->getTaskId() !== null){
throw new \UnexpectedValueException("Attempt to schedule the same AsyncTask instance twice"); throw new \UnexpectedValueException("Attempt to schedule the same AsyncTask instance twice");
} }