diff --git a/src/inventory/InventoryHelpersTrait.php b/src/inventory/InventoryHelpersTrait.php index 828a817e8..0ce6f22dd 100644 --- a/src/inventory/InventoryHelpersTrait.php +++ b/src/inventory/InventoryHelpersTrait.php @@ -102,7 +102,7 @@ trait InventoryHelpersTrait{ public function firstEmpty() : int{ foreach($this->getContents(true) as $i => $slot){ - if($slot === null or $slot->isNull()){ + if($slot->isNull()){ return $i; } }