mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
ah hello my old friend, impossible-generics.neon
propagating generics all the way through the likes of HandlerList etc is more trouble than it's worth.
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: "#^Method pocketmine\\\\event\\\\AsyncRegisteredListener\\:\\:__construct\\(\\) has parameter \\$handler with no signature specified for Closure\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/event/AsyncRegisteredListener.php
|
||||
|
||||
-
|
||||
message: "#^Method pocketmine\\\\event\\\\AsyncRegisteredListener\\:\\:getHandler\\(\\) return type has no signature specified for Closure\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/event/AsyncRegisteredListener.php
|
||||
|
||||
-
|
||||
message: "#^Method pocketmine\\\\event\\\\RegisteredListener\\:\\:__construct\\(\\) has parameter \\$handler with no signature specified for Closure\\.$#"
|
||||
count: 1
|
||||
|
@@ -39,6 +39,9 @@ final class AsyncEventInheritanceTest extends Test{
|
||||
ChildAsyncEvent::class,
|
||||
ParentAsyncEvent::class
|
||||
];
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
private array $callOrder = [];
|
||||
|
||||
public function getName() : string{
|
||||
|
Reference in New Issue
Block a user