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 5973850 commit 8a60410
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Views/ArrayView.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function is(callable $predicate): MaskSelectorInterface
* Returns a subview of this view based on a selector or string slice.
*
* ##### Example (using selector objects)
* ```
* ```php
* $source = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
*
* $subview = ArrayView::toView($source)
Expand All @@ -251,7 +251,7 @@ public function is(callable $predicate): MaskSelectorInterface
* ```
*
* ##### Example (using short objects)
* ```
* ```php
* $source = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
*
* $subview = ArrayView::toView($source)
Expand All @@ -265,7 +265,7 @@ public function is(callable $predicate): MaskSelectorInterface
* ```
*
* ##### Readonly example
* ```
* ```php
* $source = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
* $subview = ArrayView::toView($source)->subview('::2');
*
Expand Down

0 comments on commit 8a60410

Please sign in to comment.