Skip to content

Commit

Permalink
Replace @template-implements with @template-extends in interfaces' ph…
Browse files Browse the repository at this point in the history
…pDocs
  • Loading branch information
isfedorov committed Aug 26, 2024
1 parent dda4312 commit 70e5033
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 70e5033

Please sign in to comment.