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)
7676 /**
7777 * Return the first element in an array passing a given truth test.
7878 *
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+ *
7982 * @param array $array
8083 * @param callable|null $callback
8184 * @param mixed $default
@@ -162,6 +165,9 @@ function array_has($array, $keys)
162165 /**
163166 * Return the last element in an array passing a given truth test.
164167 *
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+ *
165171 * @param array $array
166172 * @param callable|null $callback
167173 * @param mixed $default
@@ -421,6 +427,9 @@ function str_before($subject, $search)
421427 /**
422428 * Determine if a given string contains a given substring.
423429 *
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+ *
424433 * @param string $haystack
425434 * @param string|array $needles
426435 * @return bool
You can’t perform that action at this time.
0 commit comments