Skip to content

Commit

Permalink
[FEATURE#34504] typehint correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Leosten committed Feb 21, 2017
1 parent ab58781 commit 11f3903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Conversation.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public function getAcls()
*
* @return self
*/
public function addMessage($message, $type = "message", $metas = null)
public function addMessage($message, $type = "message", array $metas = null)
{
if (false === is_string($message)) {
throw new \Exception("Message given to addMessage method needs to be of type string");
Expand Down

0 comments on commit 11f3903

Please sign in to comment.