From 11f390307dce47668f5b90f1eaaa3d92046341e4 Mon Sep 17 00:00:00 2001 From: Leonard LEUNG CHONG WO Date: Tue, 21 Feb 2017 14:29:48 +0100 Subject: [PATCH] [FEATURE#34504] typehint correction --- src/Conversation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Conversation.php b/src/Conversation.php index 299392d..c62480d 100644 --- a/src/Conversation.php +++ b/src/Conversation.php @@ -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");