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

The package doesn't support psr/http-message v2 #112

Open
b1rdex opened this issue Oct 7, 2023 · 1 comment
Open

The package doesn't support psr/http-message v2 #112

b1rdex opened this issue Oct 7, 2023 · 1 comment

Comments

@b1rdex
Copy link
Contributor

b1rdex commented Oct 7, 2023

Fatal error: Declaration of WoohooLabs\Yin\JsonApi\Request\AbstractRequest::withCookieParams(array $cookies) must be compatible with Psr\Http\Message\ServerRequestInterface::withCookieParams(array $cookies): Psr\Http\Message\ServerRequestInterface in /srv/app/vendor/woohoolabs/yin/src/JsonApi/Request/AbstractRequest.php on line 212

ServerRequestInterface now has the return types specified, so AbstractRequest must too.

@b1rdex
Copy link
Contributor Author

b1rdex commented Oct 7, 2023

Temporal solution: composer require 'psr/http-message:<2'

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