Skip to content

Commit

Permalink
Tighten return type
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Mar 9, 2024
1 parent 3fec5ab commit 04e3a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PackedBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 04e3a71

Please sign in to comment.