File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ function array_except($array, $keys)
76
76
/**
77
77
* Return the first element in an array passing a given truth test.
78
78
*
79
+ * @deprecated A native function with the same name was introduced in PHP 8.5.
80
+ * Use Illuminate\Support\Arr::first to keep functionality
81
+ *
79
82
* @param array $array
80
83
* @param callable|null $callback
81
84
* @param mixed $default
@@ -162,6 +165,9 @@ function array_has($array, $keys)
162
165
/**
163
166
* Return the last element in an array passing a given truth test.
164
167
*
168
+ * @deprecated A native function with the same name was introduced in PHP 8.5.
169
+ * Use Illuminate\Support\Arr::last to keep functionality
170
+ *
165
171
* @param array $array
166
172
* @param callable|null $callback
167
173
* @param mixed $default
@@ -421,6 +427,9 @@ function str_before($subject, $search)
421
427
/**
422
428
* Determine if a given string contains a given substring.
423
429
*
430
+ * @deprecated A native function with the same name was introduced in PHP 8.0.
431
+ * Use Illuminate\Support\Str::contains to keep functionality
432
+ *
424
433
* @param string $haystack
425
434
* @param string|array $needles
426
435
* @return bool
You can’t perform that action at this time.
0 commit comments