Code Monkey home page Code Monkey logo

Comments (4)

pyrech avatar pyrech commented on May 18, 2024

Hi,

Sorry you faced an issue with this SDK. 😕

Regarding the signature of the endpoint JoliCode\Slack\Api\Endpoint\ChatPostMessage::getBody() (ie the typehint of the $streamFactory parameter), it looks like your are using this SDK in version < 2.1.

But the signature of the class Jane\OpenApiRuntime\Client\BaseEndpoint::getBody() do not have a typehint for this $streamFactory so you probably have jane-php/open-api-runtime installed in version >= 4.5.0

I suggest you to try to update this package in version >= 2.1. It should fix your issue 😉 🤞

from slack-php-api.

resslinger avatar resslinger commented on May 18, 2024

Hi,

we work with composer and the version 1.2.0, which is required in the composer file.

After composer update, the janephp lib was updated. Since this, the error exists.
I think, the requirements for 1.2.0 are not correct in the composer file.

If I want to work with 1.2.0, a dependency for this project should not be updated.

from slack-php-api.

pyrech avatar pyrech commented on May 18, 2024

Hey @lacodimizer,

Good news, I just released 1.2.1 who requires jane-php/open-api-runtime in version < 4.5. I hope that should be ok for you.

Cheers

from slack-php-api.

pyrech avatar pyrech commented on May 18, 2024

Closing as the issue should be fixed now. Feel free to reopen if you face this bug again 😉

from slack-php-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.