From 04e3a717ef0cd7623d2f6d53f2932ec4e4d9fae9 Mon Sep 17 00:00:00 2001 From: Doug Wright Date: Mon, 18 Dec 2023 21:52:46 +0000 Subject: [PATCH] Tighten return type --- src/PackedBox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PackedBox.php b/src/PackedBox.php index f0dbb28..3d5356f 100644 --- a/src/PackedBox.php +++ b/src/PackedBox.php @@ -236,7 +236,7 @@ public function jsonSerialize(): array * Validate that all items are placed solely within the confines of the box, and that no two items are placed * into the same physical space. */ - private function assertPackingCompliesWithRealWorld(): bool + private function assertPackingCompliesWithRealWorld(): true { /** @var PackedItem[] $itemsToCheck */ $itemsToCheck = iterator_to_array($this->items);