Skip to content

Commit

Permalink
phpdoc fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed Mar 15, 2024
1 parent 0241ad4 commit 27fd05e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Interfaces/ArrayViewInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @template T The type of elements in the array
*
* @extends \ArrayAccess<int, T|array<T>>
* @extends \ArrayAccess<int|string|array<mixed>|ArrayViewInterface<mixed>|ArraySelectorInterface, T|array<T>>
* @extends \IteratorAggregate<int, T>
*/
interface ArrayViewInterface extends \ArrayAccess, \IteratorAggregate, \Countable
Expand Down Expand Up @@ -86,9 +86,8 @@ public function is(callable $predicate): MaskSelectorInterface;
/**
* Returns a subview of this view based on a selector or string slice.
*
* @template S of string|array<mixed>|ArrayViewInterface<mixed>|ArraySelectorInterface
*
* @param S $selector The selector or string to filter the subview.
* @param string|array<mixed>|ArrayViewInterface<mixed>|ArraySelectorInterface $selector The selector or string
* to filter the subview.
* @param bool|null $readonly Flag indicating if the subview should be read-only.
*
* @return ArrayViewInterface<T> A new view representing the subview of this view.
Expand Down

0 comments on commit 27fd05e

Please sign in to comment.