mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Task::onRun() and Task::onCancel() now require :void return typehints
This commit is contained in:
@ -34,7 +34,7 @@ class CheckTestCompletionTask extends Task{
|
||||
$this->plugin = $plugin;
|
||||
}
|
||||
|
||||
public function onRun(){
|
||||
public function onRun() : void{
|
||||
$test = $this->plugin->getCurrentTest();
|
||||
if($test === null){
|
||||
if(!$this->plugin->startNextTest()){
|
||||
|
Reference in New Issue
Block a user