Skip to content

Commit 283f8b3

Browse files
committed
Fix shouldIncreaseCapacity()
1 parent 323cf2f commit 283f8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Capacity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ protected function shouldDecreaseCapacity(): bool
104104
*/
105105
protected function shouldIncreaseCapacity(): bool
106106
{
107-
return count($this) >= $this->capacity;
107+
return count($this) > $this->capacity;
108108
}
109109
}

0 commit comments

Comments
 (0)