@@ -62,13 +62,13 @@ abstract class Message
6262
6363 /**
6464 * Metadata. Message variables (key/value).
65- * @var string[]
65+ * @var array
6666 */
6767 protected $ variables ;
6868
6969 /**
7070 * Metadata. Message "keys" i.e: Action: login
71- * @var string[]
71+ * @var array
7272 */
7373 protected $ keys ;
7474
@@ -102,7 +102,7 @@ public function getCreatedDate()
102102 * Adds a variable to this message.
103103 *
104104 * @param string $key Variable name.
105- * @param string $value Variable value.
105+ * @param mixed $value Variable value.
106106 *
107107 * @return void
108108 */
@@ -116,7 +116,7 @@ public function setVariable($key, $value)
116116 *
117117 * @param string $key Variable name.
118118 *
119- * @return string
119+ * @return mixed
120120 */
121121 public function getVariable ($ key )
122122 {
@@ -131,7 +131,7 @@ public function getVariable($key)
131131 *
132132 * @param string $value Key value.
133133 *
134- * @return typed and sanitized value
134+ * @return mixed typed and sanitized value
135135 */
136136 protected function sanitizeInput ($ value )
137137 {
@@ -172,7 +172,7 @@ protected function sanitizeInput($value)
172172 * Adds a variable to this message.
173173 *
174174 * @param string $key Key name (i.e: Action).
175- * @param string $value Key value.
175+ * @param mixed $value Key value.
176176 *
177177 * @return void
178178 */
@@ -205,7 +205,7 @@ protected function setSanitizedKey($key, $value)
205205 *
206206 * @param string $key Key name (i.e: Action).
207207 *
208- * @return string
208+ * @return mixed
209209 */
210210 public function getKey ($ key )
211211 {
@@ -222,7 +222,7 @@ public function getKey($key)
222222 *
223223 * @param string $key Key name (i.e: Action).
224224 *
225- * @return string
225+ * @return bool|null
226226 */
227227 public function getBoolKey ($ key )
228228 {
@@ -236,7 +236,7 @@ public function getBoolKey($key)
236236 /**
237237 * Returns all keys for this message.
238238 *
239- * @return string[]
239+ * @return array
240240 */
241241 public function getKeys ()
242242 {
@@ -246,7 +246,7 @@ public function getKeys()
246246 /**
247247 * Returns all variabels for this message.
248248 *
249- * @return string[]
249+ * @return array
250250 */
251251 public function getVariables ()
252252 {
0 commit comments