diff --git a/src/Interfaces/ArrayViewInterface.php b/src/Interfaces/ArrayViewInterface.php index 8ae1eb3..a3407ee 100644 --- a/src/Interfaces/ArrayViewInterface.php +++ b/src/Interfaces/ArrayViewInterface.php @@ -17,7 +17,7 @@ * * @template T The type of elements in the array * - * @extends \ArrayAccess> + * @extends \ArrayAccess|ArrayViewInterface|ArraySelectorInterface, T|array> * @extends \IteratorAggregate */ interface ArrayViewInterface extends \ArrayAccess, \IteratorAggregate, \Countable @@ -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|ArrayViewInterface|ArraySelectorInterface - * - * @param S $selector The selector or string to filter the subview. + * @param string|array|ArrayViewInterface|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 A new view representing the subview of this view.