-
Notifications
You must be signed in to change notification settings - Fork 56
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
Declaration of Smalot\Cups\Transport\Client::sendRequest(Psr\Http\Message\RequestInterface $request) must be compatible with Psr\Http\Client\ClientInterface::sendRequest(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\ResponseInterface #29
Comments
Is there any fix to this? |
Here is some temporary workaround:
That should do the trick. Also I had some hostname issues, so in Client.php I made this: |
Maybe a fork of this project ? The author has not maintained the project for 2 years |
I can advise using: JulianOsorio078/cups-ipp |
@Bartheyrman22 this just trades the deps issue for another one:
|
If you need |
yeah, im putting my money on #32 still 😅 |
After update from 0.4 to 0.5 I get this error:
"Declaration of Smalot\Cups\Transport\Client::sendRequest(Psr\Http\Message\RequestInterface $request) must be compatible with Psr\Http\Client\ClientInterface::sendRequest(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\ResponseInterface"
This is because of version constraints of dependencies has been removed
php-http/httplug ^2.0 introduces a new interface for ClientInterface
The text was updated successfully, but these errors were encountered: