mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 08:19:45 +00:00
Server: add @return annotation to crashDump() to make phpstan happy
this is technically a bug in PHPStan, but it's easier to do this than report a bug.
This commit is contained in:
parent
00888fdc55
commit
cb598155a4
@ -2246,6 +2246,9 @@ class Server{
|
||||
$this->crashDump();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function crashDump(){
|
||||
while(@ob_end_flush()){}
|
||||
if(!$this->isRunning){
|
||||
|
Loading…
x
Reference in New Issue
Block a user