Skip to content

Commit f8f25d8

Browse files
Corrected description of data_set
The function `data_set` was incorrectly saying that the third argument is the overwrite argument; when in fact it is the fourth.
1 parent 0d46878 commit f8f25d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ This function also accepts wildcards and will set values on the target according
604604
]
605605
*/
606606

607-
By default, any existing values are overwritten. If you wish to only set a value if it doesn't exist, you may pass `false` as the third argument:
607+
By default, any existing values are overwritten. If you wish to only set a value if it doesn't exist, you may pass `false` as the fourth argument:
608608

609609
$data = ['products' => ['desk' => ['price' => 100]]];
610610

0 commit comments

Comments
 (0)