This commit is contained in:
Dylan K. Taylor 2024-11-13 20:44:35 +00:00
parent 8aed5d6b27
commit 96989d1dc4
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -39,9 +39,7 @@ final class AsyncEventInheritanceTest extends Test{
ChildAsyncEvent::class,
ParentAsyncEvent::class
];
/**
* @var string[]
*/
/** @var string[] */
private array $callOrder = [];
public function getName() : string{
@ -62,7 +60,6 @@ final class AsyncEventInheritanceTest extends Test{
$plugin->getServer()->getPluginManager()->registerAsyncEvent(
$class,
function(AsyncEvent $event) use ($class) : ?Promise{
var_dump($class);
$this->callOrder[] = $class;
return null;
},