PluginManager: add class-string phpstan param to registerEvent()

This commit is contained in:
Dylan K. Taylor
2020-02-07 20:05:41 +00:00
parent 3edbea8545
commit 681dd469a2
2 changed files with 6 additions and 0 deletions

View File

@ -80,3 +80,8 @@ parameters:
message: "#^Call to function is_array\\(\\) with array\\<string, mixed\\> will always evaluate to true\\.$#"
count: 1
path: ../../../src/pocketmine/plugin/PluginManager.php
-
message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\event\\\\Event\\> and 'pocketmine\\\\\\\\event…' will always evaluate to true\\.$#"
count: 1
path: ../../../src/pocketmine/plugin/PluginManager.php