diff --git a/RealTime/src/RealTime/changeTimeTask.php b/RealTime/src/RealTime/changeTimeTask.php index b905f11..c896ad5 100644 --- a/RealTime/src/RealTime/changeTimeTask.php +++ b/RealTime/src/RealTime/changeTimeTask.php @@ -1,17 +1,17 @@ -plugin = $plugin; - } - - public function onRun($currentTick) { - $this->plugin->changeTime(); - - } +plugin = $plugin; + } + + public function onRun(int $currentTick) { + $this->plugin->changeTime(); + + } } \ No newline at end of file diff --git a/RealTime/src/RealTime/tellTimeTask.php b/RealTime/src/RealTime/tellTimeTask.php index 2211f31..8cbf220 100644 --- a/RealTime/src/RealTime/tellTimeTask.php +++ b/RealTime/src/RealTime/tellTimeTask.php @@ -1,34 +1,34 @@ -plugin = $plugin; - } - - - public function onRun($currentTick) - { - // TODO: Implement onRun() method. - } +plugin = $plugin; + } + + + public function onRun(int $currentTick) + { + // TODO: Implement onRun() method. + } } \ No newline at end of file