Skip to content

Commit

Permalink
Remove links to php.net from source files
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Dec 19, 2024
1 parent 0c8cd4b commit 0b4a37a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion lib/Doctrine/ODM/MongoDB/Aggregation/Stage/MatchStage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions lib/Doctrine/ODM/MongoDB/Iterator/CachingIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand All @@ -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
Expand All @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions lib/Doctrine/ODM/MongoDB/Iterator/HydratingIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions lib/Doctrine/ODM/MongoDB/Iterator/UnrewindableIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public function key()
return null;
}

/** @see https://www.php.net/iterator.next */
public function next(): void
{
if (! $this->iterator) {
Expand All @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions lib/Doctrine/ODM/MongoDB/Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b4a37a

Please sign in to comment.