diff --git a/src/LazyCriteriaCollection.php b/src/LazyCriteriaCollection.php index 34dd27e380..a201de2eeb 100644 --- a/src/LazyCriteriaCollection.php +++ b/src/LazyCriteriaCollection.php @@ -67,8 +67,6 @@ public function isEmpty(): bool * {@inheritDoc} * * Do an optimized search of an element - * - * @template TMaybeContained */ public function contains(mixed $element): bool { diff --git a/src/PersistentCollection.php b/src/PersistentCollection.php index 24cdef0a5d..7a1706739e 100644 --- a/src/PersistentCollection.php +++ b/src/PersistentCollection.php @@ -352,8 +352,6 @@ public function containsKey(mixed $key): bool /** * {@inheritDoc} - * - * @template TMaybeContained */ public function contains(mixed $element): bool {