mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +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]
|
* @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{
|
public function getBlocks() : \Generator{
|
||||||
foreach($this->blocks as $x => $yLine){
|
foreach($this->blocks as $x => $yLine){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user