fixing some PHPStan complaints about bootstrap

this isn't an ideal fix, but it'll do.
This commit is contained in:
Dylan K. Taylor
2019-11-07 18:22:21 +00:00
parent 95812252d6
commit 932418b951
3 changed files with 30 additions and 56 deletions

View File

@ -291,5 +291,7 @@ namespace pocketmine {
exit($exitCode);
}
\pocketmine\server();
if(!defined('pocketmine\_PHPSTAN_ANALYSIS')){
\pocketmine\server();
}
}