mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +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