From be5212b90b7997463b3a7b1a3602c9a8f1b96245 Mon Sep 17 00:00:00 2001 From: Josh North Date: Wed, 26 Jul 2017 09:39:33 -0400 Subject: [PATCH 1/2] Update 'RealTime/src/RealTime/changeTimeTask.php' --- RealTime/src/RealTime/changeTimeTask.php | 32 ++++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) 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 From 88515642b3e3dcd323cf48c08df63e7ae6cba978 Mon Sep 17 00:00:00 2001 From: Josh North Date: Wed, 26 Jul 2017 09:39:57 -0400 Subject: [PATCH 2/2] Update 'RealTime/src/RealTime/tellTimeTask.php' --- RealTime/src/RealTime/tellTimeTask.php | 66 +++++++++++++------------- 1 file changed, 33 insertions(+), 33 deletions(-) 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