From ac09bc0a792ea5eaf324f3f03a1f143604f3b4b9 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 13 Jan 2016 17:11:58 +0100 Subject: [PATCH] Type-hint is array here. Signed-off-by: Roland Haeder --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5