From 1ffabbb567e4157d2b07f6068e3f6c7238fd7235 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 7 Feb 2020 20:25:08 +0000 Subject: [PATCH] fixed ignoreError for registerEvent() --- tests/phpstan/configs/runtime-type-checks.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpstan/configs/runtime-type-checks.neon b/tests/phpstan/configs/runtime-type-checks.neon index 12f307383..12ecd489c 100644 --- a/tests/phpstan/configs/runtime-type-checks.neon +++ b/tests/phpstan/configs/runtime-type-checks.neon @@ -18,7 +18,7 @@ parameters: path: ../../../src/plugin/PluginBase.php - - message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\ and 'pocketmine\\\\\\\\event…' will always evaluate to true\\.$#" + message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\ and 'pocketmine\\\\\\\\event…' will always evaluate to true\\.$#" count: 1 path: ../../../src/plugin/PluginManager.php