From 0b4a37a675a004c2764591e0e854c2a1058e4ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 19 Dec 2024 21:25:22 +0100 Subject: [PATCH] Remove links to php.net from source files --- lib/Doctrine/ODM/MongoDB/Aggregation/Stage/MatchStage.php | 1 - lib/Doctrine/ODM/MongoDB/Iterator/CachingIterator.php | 4 ---- lib/Doctrine/ODM/MongoDB/Iterator/HydratingIterator.php | 3 --- lib/Doctrine/ODM/MongoDB/Iterator/UnrewindableIterator.php | 3 --- lib/Doctrine/ODM/MongoDB/Query/Query.php | 2 -- 5 files changed, 13 deletions(-) diff --git a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/MatchStage.php b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/MatchStage.php index 9a18a0375..c562824ae 100644 --- a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/MatchStage.php +++ b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/MatchStage.php @@ -26,7 +26,6 @@ public function __construct(Builder $builder) $this->query = $this->expr(); } - /** @see https://www.php.net/language.oop5.cloning */ public function __clone() { $this->query = clone $this->query; diff --git a/lib/Doctrine/ODM/MongoDB/Iterator/CachingIterator.php b/lib/Doctrine/ODM/MongoDB/Iterator/CachingIterator.php index 942707b71..2a3096ad3 100644 --- a/lib/Doctrine/ODM/MongoDB/Iterator/CachingIterator.php +++ b/lib/Doctrine/ODM/MongoDB/Iterator/CachingIterator.php @@ -55,7 +55,6 @@ public function __construct(Traversable $iterator) $this->storeCurrentItem(); } - /** @see https://www.php.net/countable.count */ public function count(): int { $currentKey = key($this->items); @@ -91,7 +90,6 @@ public function key() return key($this->items); } - /** @see https://www.php.net/iterator.next */ public function next(): void { if ($this->iterator !== null) { @@ -103,7 +101,6 @@ public function next(): void next($this->items); } - /** @see https://www.php.net/iterator.rewind */ public function rewind(): void { /* If the iterator has advanced, exhaust it now so that future iteration @@ -116,7 +113,6 @@ public function rewind(): void reset($this->items); } - /** @see https://www.php.net/iterator.valid */ public function valid(): bool { return $this->key() !== null; diff --git a/lib/Doctrine/ODM/MongoDB/Iterator/HydratingIterator.php b/lib/Doctrine/ODM/MongoDB/Iterator/HydratingIterator.php index 0a9956e00..306e15c8d 100644 --- a/lib/Doctrine/ODM/MongoDB/Iterator/HydratingIterator.php +++ b/lib/Doctrine/ODM/MongoDB/Iterator/HydratingIterator.php @@ -57,19 +57,16 @@ public function key() return $this->getIterator()->key(); } - /** @see https://www.php.net/iterator.next */ public function next(): void { $this->getIterator()->next(); } - /** @see https://www.php.net/iterator.rewind */ public function rewind(): void { $this->getIterator()->rewind(); } - /** @see https://www.php.net/iterator.valid */ public function valid(): bool { return $this->key() !== null; diff --git a/lib/Doctrine/ODM/MongoDB/Iterator/UnrewindableIterator.php b/lib/Doctrine/ODM/MongoDB/Iterator/UnrewindableIterator.php index 37556c01a..288ced8cb 100644 --- a/lib/Doctrine/ODM/MongoDB/Iterator/UnrewindableIterator.php +++ b/lib/Doctrine/ODM/MongoDB/Iterator/UnrewindableIterator.php @@ -72,7 +72,6 @@ public function key() return null; } - /** @see https://www.php.net/iterator.next */ public function next(): void { if (! $this->iterator) { @@ -89,13 +88,11 @@ public function next(): void $this->iterator = null; } - /** @see https://www.php.net/iterator.rewind */ public function rewind(): void { $this->preventRewinding(__METHOD__); } - /** @see https://www.php.net/iterator.valid */ public function valid(): bool { return $this->key() !== null; diff --git a/lib/Doctrine/ODM/MongoDB/Query/Query.php b/lib/Doctrine/ODM/MongoDB/Query/Query.php index 2b13340c5..62cc56f8b 100644 --- a/lib/Doctrine/ODM/MongoDB/Query/Query.php +++ b/lib/Doctrine/ODM/MongoDB/Query/Query.php @@ -254,8 +254,6 @@ public function getDocumentManager(): DocumentManager * Otherwise, the query will be executed and UnexpectedValueException will * be thrown if {@link Query::execute()} does not return an Iterator. * - * @see https://www.php.net/iteratoraggregate.getiterator - * * @throws BadMethodCallException If the query type would not return an Iterator. * @throws UnexpectedValueException If the query did not return an Iterator. * @throws MongoDBException