Skip to content

Commit 27fd05e

Browse files
committed
phpdoc fix.
1 parent 0241ad4 commit 27fd05e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Interfaces/ArrayViewInterface.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* @template T The type of elements in the array
1919
*
20-
* @extends \ArrayAccess<int, T|array<T>>
20+
* @extends \ArrayAccess<int|string|array<mixed>|ArrayViewInterface<mixed>|ArraySelectorInterface, T|array<T>>
2121
* @extends \IteratorAggregate<int, T>
2222
*/
2323
interface ArrayViewInterface extends \ArrayAccess, \IteratorAggregate, \Countable
@@ -86,9 +86,8 @@ public function is(callable $predicate): MaskSelectorInterface;
8686
/**
8787
* Returns a subview of this view based on a selector or string slice.
8888
*
89-
* @template S of string|array<mixed>|ArrayViewInterface<mixed>|ArraySelectorInterface
90-
*
91-
* @param S $selector The selector or string to filter the subview.
89+
* @param string|array<mixed>|ArrayViewInterface<mixed>|ArraySelectorInterface $selector The selector or string
90+
* to filter the subview.
9291
* @param bool|null $readonly Flag indicating if the subview should be read-only.
9392
*
9493
* @return ArrayViewInterface<T> A new view representing the subview of this view.

0 commit comments

Comments
 (0)