mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-16 08:25:29 +00:00
HandlerListManagerTest: fix phpunit 8.x compatibility
This commit is contained in:
parent
5e85705ec8
commit
091873ca51
@ -33,7 +33,7 @@ class HandlerListManagerTest extends TestCase{
|
|||||||
private $resolveParentFunc;
|
private $resolveParentFunc;
|
||||||
|
|
||||||
|
|
||||||
public function setUp(){
|
public function setUp() : void{
|
||||||
/** @see HandlerListManager::isValidClass() */
|
/** @see HandlerListManager::isValidClass() */
|
||||||
$this->isValidFunc = (new \ReflectionMethod(HandlerListManager::class, 'isValidClass'))->getClosure();
|
$this->isValidFunc = (new \ReflectionMethod(HandlerListManager::class, 'isValidClass'))->getClosure();
|
||||||
/** @see HandlerListManager::resolveNearestHandleableParent() */
|
/** @see HandlerListManager::resolveNearestHandleableParent() */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user