Skip to content

Commit 8a99ff3

Browse files
committed
tweak wording
1 parent 4d0905b commit 8a99ff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ The `array_where` function filters the array using the given Closure:
423423
<a name="method-array-wrap"></a>
424424
#### `array_wrap()` {#collection-method}
425425

426-
If the given value is not an array, `array_wrap` wraps its in one:
426+
The `array_wrap` function will wrap the given value in an array. If the given value is already an array it will not be changed:
427427

428428
$string = 'Laravel';
429429

@@ -434,7 +434,7 @@ If the given value is not an array, `array_wrap` wraps its in one:
434434
<a name="method-head"></a>
435435
#### `head()` {#collection-method}
436436

437-
The `head` function simply returns the first element in the given array:
437+
The `head` function returns the first element in the given array:
438438

439439
$array = [100, 200, 300];
440440

0 commit comments

Comments
 (0)