Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array_has() laravel 7 #2

Open
nenads opened this issue Jan 22, 2021 · 0 comments
Open

array_has() laravel 7 #2

nenads opened this issue Jan 22, 2021 · 0 comments

Comments

@nenads
Copy link

nenads commented Jan 22, 2021

if(! array_has($this->config, 'connections.'.$request->selected)){
return abort(422);
}

Call to undefined function Pmochine\LaravelNovaHashids\Http\array_has()
/var/www/html/vendor/pmochine/laravel-nova-hashids/src/Http/HashidsConverterController.php#48

array_has() is deprecated ?

have added in helper

if (!function_exists('array_has')) {
function array_has($array, $keys)
{
return Arr::has($array, $keys);
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant