Both SlackMessage::unfurlLinks and SlackMessage::unfurlMedia have boolean types, but PHPDoc for their setters use string type.
Additionally, I've changed arg names to keep them in sync with property names (the main problem was invalid arg name: public function unfurlMedia($unfurl)).
Both
SlackMessage::unfurlLinks
andSlackMessage::unfurlMedia
have boolean types, but PHPDoc for their setters usestring
type.Additionally, I've changed arg names to keep them in sync with property names (the main problem was invalid arg name:
public function unfurlMedia($unfurl)
).PS: a note about arguments renaming: