You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
Symfony\Component\Debug\Exception\FatalErrorException: Declaration of Superbalist\AjaxRedirector\AjaxRedirectResponse::isRedirect($location = NULL) must be compatible with Symfony\Component\HttpFoundation\Response::isRedirect(?string $location = NULL): bool
File "vendor/superbalist/laravel-ajax-redirector/src/AjaxRedirectResponse.php
Any chance of providing an update?
The text was updated successfully, but these errors were encountered:
Laravel started supporting PHP return types from 5.5.x (source) by using PHP 7.x.
Version branch 2.0.0 of this library seems to support older versions of PHP so it feels like we have to make a PR to bring in support for PHP return types.
We could make a v3.0.x branch/tag where we add support for Laravel versions upwards and including 5.5 (see source link ^^)
If you don't mind making a pull request, I will spend some time making the releases etc. That sound okay @matthewscalf ?
Getting this after upgrading Laravel:
Symfony\Component\Debug\Exception\FatalErrorException: Declaration of Superbalist\AjaxRedirector\AjaxRedirectResponse::isRedirect($location = NULL) must be compatible with Symfony\Component\HttpFoundation\Response::isRedirect(?string $location = NULL): bool
File "vendor/superbalist/laravel-ajax-redirector/src/AjaxRedirectResponse.php
Any chance of providing an update?
The text was updated successfully, but these errors were encountered: