mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -81,7 +81,7 @@ if (! function_exists('array_first')) {
|
||||
* @param mixed $default
|
||||
* @return mixed
|
||||
*/
|
||||
function array_first($array, callable $callback = null, $default = null)
|
||||
function array_first($array, ?callable $callback = null, $default = null)
|
||||
{
|
||||
return Arr::first($array, $callback, $default);
|
||||
}
|
||||
@@ -153,7 +153,7 @@ if (! function_exists('array_last')) {
|
||||
* @param mixed $default
|
||||
* @return mixed
|
||||
*/
|
||||
function array_last($array, callable $callback = null, $default = null)
|
||||
function array_last($array, ?callable $callback = null, $default = null)
|
||||
{
|
||||
return Arr::last($array, $callback, $default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user