Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace @template-implements with @template-extends in interfaces' phpDocs #1658

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Core/Core_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface iterable {}
* @template TKey
* @template-covariant TValue
*
* @template-implements iterable<TKey, TValue>
* @template-extends iterable<TKey, TValue>
*/
interface Traversable extends iterable {}

Expand All @@ -36,7 +36,7 @@ interface Traversable extends iterable {}
* @link https://php.net/manual/en/class.iteratoraggregate.php
* @template TKey
* @template-covariant TValue
* @template-implements Traversable<TKey, TValue>
* @template-extends Traversable<TKey, TValue>
*/
interface IteratorAggregate extends Traversable
{
Expand All @@ -57,7 +57,7 @@ public function getIterator(): Traversable;
* @link https://php.net/manual/en/class.iterator.php
* @template TKey
* @template-covariant TValue
* @template-implements Traversable<TKey, TValue>
* @template-extends Traversable<TKey, TValue>
*/
interface Iterator extends Traversable
{
Expand Down
Loading