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
Fatal error: Declaration of JoliCode\Slack\Api\Endpoint\ChatPostMessage::transformResponseBody(string $body, int $status, Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType) must be compatible with Jane\OpenApiRuntime\Client\EndpointTrait::transformResponseBody(string $body, int $status, Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) in vendor/jolicode/slack-php-api/generated/Endpoint/ChatPostMessage.php on line 119
Hello, you are using "jolicode/slack-php-api": "^3.0", which is a very old version.
Can you upgrade?
"jolicode/slack-php-api": "^4.5",
Thanks
lyrixx
changed the title
Fatal error: Declaration of JoliCode\Slack\Api\Endpoint\ChatPostMessage::transformResponseBody(string $body, int $status, Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType) must be compatible with Jane\OpenApiRuntime\Client\EndpointTrait::transformResponseBody(string $body, int $status, Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) in vendor/jolicode/slack-php-api/generated/Endpoint/ChatPostMessage.php on line 119
Fatal error: Declaration of ChatPostMessage::transformResponseBody() must be compatible with Jane\OpenApiRuntime\Client\EndpointTrait::transformResponseBody()
Jul 12, 2023
lyrixx
changed the title
Fatal error: Declaration of ChatPostMessage::transformResponseBody() must be compatible with Jane\OpenApiRuntime\Client\EndpointTrait::transformResponseBody()
Fatal error: Declaration of ChatPostMessage::transformResponseBody() must be compatible with Jane\OpenApiRuntime\Client\EndpointTraitJul 12, 2023
Error:
PHP version: 8.1
composer.json:
The text was updated successfully, but these errors were encountered: