]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix default types of activity event member variables 12353/head
authorJoas Schilling <coding@schilljs.com>
Mon, 15 Oct 2018 09:45:17 +0000 (11:45 +0200)
committerJoas Schilling <coding@schilljs.com>
Thu, 8 Nov 2018 13:14:01 +0000 (14:14 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Activity/Event.php

index a66ebd3c906d68813c7c9b75069727ffd1a686b2..bee8a1bdab0c57e0d670151d776baabebcbd6907 100644 (file)
@@ -45,21 +45,21 @@ class Event implements IEvent {
        /** @var array */
        protected $subjectParameters = [];
        /** @var string */
-       protected $subjectParsed;
+       protected $subjectParsed = '';
        /** @var string */
-       protected $subjectRich;
+       protected $subjectRich = '';
        /** @var array */
-       protected $subjectRichParameters;
+       protected $subjectRichParameters = [];
        /** @var string */
        protected $message = '';
        /** @var array */
        protected $messageParameters = [];
        /** @var string */
-       protected $messageParsed;
+       protected $messageParsed = '';
        /** @var string */
-       protected $messageRich;
+       protected $messageRich = '';
        /** @var array */
-       protected $messageRichParameters;
+       protected $messageRichParameters = [];
        /** @var string */
        protected $objectType = '';
        /** @var int */