File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ The `array_where` function filters the array using the given Closure:
423
423
<a name =" method-array-wrap " ></a >
424
424
#### ` array_wrap() ` {#collection-method}
425
425
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 :
427
427
428
428
$string = 'Laravel';
429
429
@@ -434,7 +434,7 @@ If the given value is not an array, `array_wrap` wraps its in one:
434
434
<a name =" method-head " ></a >
435
435
#### ` head() ` {#collection-method}
436
436
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:
438
438
439
439
$array = [100, 200, 300];
440
440
You can’t perform that action at this time.
0 commit comments