Skip to content

Commit

Permalink
refactor: Mark iterators as internal.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 17, 2020
1 parent 87124da commit af7ee07
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Iterator/ClosureIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
use Generator;

/**
* @internal
*
* @psalm-template TKey
* @psalm-template T
*
Expand Down
2 changes: 2 additions & 0 deletions src/Iterator/IterableIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
use Generator;

/**
* @internal
*
* @psalm-template TKey
* @psalm-template T
*
Expand Down
2 changes: 2 additions & 0 deletions src/Iterator/ProxyIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
use OuterIterator;

/**
* @internal
*
* @psalm-template TKey
* @psalm-template T
*
Expand Down
2 changes: 2 additions & 0 deletions src/Iterator/RandomIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
use const PHP_INT_MIN;

/**
* @internal
*
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T of string
Expand Down
2 changes: 2 additions & 0 deletions src/Iterator/ResourceIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
use IteratorIterator;

/**
* @internal
*
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
Expand Down
2 changes: 2 additions & 0 deletions src/Iterator/StringIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
use IteratorIterator;

/**
* @internal
*
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T of string
Expand Down

0 comments on commit af7ee07

Please sign in to comment.