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
PHP Fatal error: Declaration of RestCord\Logging\MessageFormatter::format(Psr\Http\Message\RequestInterface $request, $response = NULL, $error = NULL) must be compatible with GuzzleHttp\MessageFormatter::format(Psr\Http\Message\RequestInterface $request, ?Psr\Http\Message\ResponseInterface $response = NULL, ?Throwable $error = NULL): string in /home/vagrant/code/vendor/restcord/restcord/src/Logging/MessageFormatter.php on line 45
The text was updated successfully, but these errors were encountered:
Restcord currently supports Guzzle 6 and 7, I believe the MessageFormat implementation won't work for both versions because the format method changed its declaration with Guzzle 7. The error occurs when using Guzzle 7.
Restcord currently supports Guzzle 6 and 7, I believe the MessageFormat implementation won't work for both versions because the format method changed its declaration with Guzzle 7. The error occurs when using Guzzle 7.
Yep, exactly that, we have to re add the type hints / revert daa7bdc. I'll create an PR 👍
I'm getting this error:
The text was updated successfully, but these errors were encountered: