diff --git a/src/LazyCriteriaCollection.php b/src/LazyCriteriaCollection.php index a201de2eeb..0a28f8c244 100644 --- a/src/LazyCriteriaCollection.php +++ b/src/LazyCriteriaCollection.php @@ -64,8 +64,6 @@ public function isEmpty(): bool } /** - * {@inheritDoc} - * * Do an optimized search of an element */ public function contains(mixed $element): bool diff --git a/src/PersistentCollection.php b/src/PersistentCollection.php index 7a1706739e..d54d3d1b99 100644 --- a/src/PersistentCollection.php +++ b/src/PersistentCollection.php @@ -350,9 +350,6 @@ public function containsKey(mixed $key): bool return parent::containsKey($key); } - /** - * {@inheritDoc} - */ public function contains(mixed $element): bool { if (! $this->initialized && $this->getMapping()->fetch === ClassMetadata::FETCH_EXTRA_LAZY) {