jolicode / jolicode/slack-php-api

Fatal error: Declaration of `ChatPostMessage::transformResponseBody()` must be compatible with `Jane\OpenApiRuntime\Client\EndpointTrait`

Open
#158 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
255
Forks
62
Avg merge
1h 45m
Merged PRs (30d)
1

Description

Error:

> 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

PHP version: 8.1

composer.json:
```json
{
"require": {
"automattic/woocommerce": "^3.0",
"jolicode/slack-php-api": "^3.0",
"symfony/http-client": "^5.4",
"nyholm/psr7": "^1.8",
"psr/http-client": "^1.0"
},
"config": {
"allow-plugins": {
"php-http/discovery": true
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.