diff --git a/src/ArrayCollection.php b/src/ArrayCollection.php index b11b2a74..d8c569a8 100644 --- a/src/ArrayCollection.php +++ b/src/ArrayCollection.php @@ -296,7 +296,11 @@ public function getValues() return array_values($this->elements); } - /** @return int */ + /** + * {@inheritDoc} + * + * @return int<0, max> + */ #[ReturnTypeWillChange] public function count() {