mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
add some Generator generics for PHPStan
This commit is contained in:
@ -91,6 +91,7 @@ class BatchPacket extends DataPacket{
|
||||
|
||||
/**
|
||||
* @return \Generator
|
||||
* @phpstan-return \Generator<int, string, void, void>
|
||||
*/
|
||||
public function getPackets(){
|
||||
$stream = new NetworkBinaryStream($this->payload);
|
||||
|
Reference in New Issue
Block a user