mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
Merge branch 'next-minor'
This commit is contained in:
commit
a325b1f3a1
@ -45,7 +45,7 @@ class ClosureTask extends Task{
|
||||
* @param \Closure $closure Must accept only ONE parameter, $currentTick
|
||||
*/
|
||||
public function __construct(\Closure $closure){
|
||||
Utils::validateCallableSignature(function(int $currentTick) : void{}, $closure);
|
||||
Utils::validateCallableSignature(function(int $currentTick){}, $closure);
|
||||
$this->closure = $closure;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user