diff --git a/src/AbstractLazyCollection.php b/src/AbstractLazyCollection.php index 9ea75ee1..5d309a5d 100644 --- a/src/AbstractLazyCollection.php +++ b/src/AbstractLazyCollection.php @@ -62,8 +62,6 @@ public function clear() /** * {@inheritDoc} - * - * @template TMaybeContained */ public function contains(mixed $element) { diff --git a/src/ArrayCollection.php b/src/ArrayCollection.php index 6ec9b540..2804fd76 100644 --- a/src/ArrayCollection.php +++ b/src/ArrayCollection.php @@ -235,8 +235,6 @@ public function containsKey(string|int $key) /** * {@inheritDoc} - * - * @template TMaybeContained */ public function contains(mixed $element) {