mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 19:24:12 +00:00
Added Inventory interfaces and types, updated long array() to []
This commit is contained in:
@ -39,7 +39,7 @@ class CallbackTask extends Task{
|
||||
* @param callable $callable
|
||||
* @param array $args
|
||||
*/
|
||||
public function __construct(callable $callable, array $args = array()){
|
||||
public function __construct(callable $callable, array $args = []){
|
||||
$this->callable = $callable;
|
||||
$this->args = $args;
|
||||
$this->args[] = $this;
|
||||
|
Reference in New Issue
Block a user