Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Larval 5.6 Issues #4

Open
matthewscalf opened this issue Mar 10, 2018 · 2 comments
Open

Larval 5.6 Issues #4

matthewscalf opened this issue Mar 10, 2018 · 2 comments
Assignees

Comments

@matthewscalf
Copy link

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?

@etiennemarais
Copy link

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 ?

@etiennemarais etiennemarais self-assigned this Mar 12, 2018
@elanclarkson
Copy link

PR #5

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

No branches or pull requests

3 participants