From: Roland Haeder Date: Wed, 13 Jan 2016 16:11:58 +0000 (+0100) Subject: Type-hint is array here. X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=commitdiff_plain;h=ac09bc0a792ea5eaf324f3f03a1f143604f3b4b9 Type-hint is array here. Signed-off-by: Roland Haeder --- diff --git a/classes/Notice.php b/classes/Notice.php index 5cc7443f67..53832def80 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1238,7 +1238,7 @@ class Notice extends Managed_DataObject return $this->_attachments[$this->id]; } - function _setAttachments($attachments) + function _setAttachments(array $attachments) { $this->_attachments[$this->id] = $attachments; }