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:
Dylan K. Taylor 2019-12-12 16:19:57 +00:00
parent 00888fdc55
commit cb598155a4

View File

@ -2246,6 +2246,9 @@ class Server{
$this->crashDump(); $this->crashDump();
} }
/**
* @return void
*/
public function crashDump(){ public function crashDump(){
while(@ob_end_flush()){} while(@ob_end_flush()){}
if(!$this->isRunning){ if(!$this->isRunning){