mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
BlockTransaction: added phpstan return type info for getBlocks()
This commit is contained in:
parent
74902d9926
commit
269a389a97
@ -103,6 +103,7 @@ class BlockTransaction{
|
||||
|
||||
/**
|
||||
* @return \Generator|mixed[] [int $x, int $y, int $z, Block $block]
|
||||
* @phpstan-return \Generator<int, array{int, int, int, Block}, void, void>
|
||||
*/
|
||||
public function getBlocks() : \Generator{
|
||||
foreach($this->blocks as $x => $yLine){
|
||||
|
Loading…
x
Reference in New Issue
Block a user