diff --git a/ASR/src/iJoshuaHD/iMCPE/ASR/CallbackTask.php b/ASR/src/iJoshuaHD/iMCPE/ASR/CallbackTask.php index 714831f..759e056 100644 --- a/ASR/src/iJoshuaHD/iMCPE/ASR/CallbackTask.php +++ b/ASR/src/iJoshuaHD/iMCPE/ASR/CallbackTask.php @@ -48,7 +48,7 @@ class CallbackTask extends Task{ return $this->callable; } - public function onRun($currentTicks){ + public function onRun(int $currentTicks){ call_user_func_array($this->callable, $this->args); }