Skip to content

Commit f332964

Browse files
committed
Minor changes.
1 parent 093d621 commit f332964

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Interfaces/ArrayViewInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ public static function toView(&$source, ?bool $readonly = null): ArrayViewInterf
3333
/**
3434
* Creates an unlinked from source ArrayView instance from the given source array or ArrayView.
3535
*
36-
* * If the source is not an ArrayView, a new ArrayView is created with the provided source.
37-
* * If the source is an ArrayView and the `readonly` parameter is specified as `true`,
38-
* a new readonly ArrayView is created.
39-
* * If the source is an ArrayView and it is already readonly, the same ArrayView is returned.
36+
* * If the source is not an ArrayView, a new ArrayView is created with the provided source.
37+
* * If the source is an ArrayView and the `readonly` parameter is specified as `true`,
38+
* a new readonly ArrayView is created.
39+
* * If the source is an ArrayView and it is already readonly, the same ArrayView is returned.
4040
*
4141
* @param array<T>|ArrayViewInterface<T> $source The source array or ArrayView to create a view from.
4242
* @param bool|null $readonly Optional flag to indicate whether the view should be readonly.

0 commit comments

Comments
 (0)