diff --git a/src/world/light/LightUpdate.php b/src/world/light/LightUpdate.php index 4a8abe8e5e..41bb468dee 100644 --- a/src/world/light/LightUpdate.php +++ b/src/world/light/LightUpdate.php @@ -36,17 +36,26 @@ abstract class LightUpdate{ /** @var ChunkManager */ protected $world; - /** @var int[][] blockhash => [x, y, z, new light level] */ + /** + * @var int[][] blockhash => [x, y, z, new light level] + * @phpstan-var array + */ protected $updateNodes = []; /** @var \SplQueue */ protected $spreadQueue; - /** @var bool[] */ + /** + * @var true[] + * @phpstan-var array + */ protected $spreadVisited = []; /** @var \SplQueue */ protected $removalQueue; - /** @var bool[] */ + /** + * @var true[] + * @phpstan-var array + */ protected $removalVisited = []; /** @var SubChunkIteratorManager */ protected $subChunkHandler;