jenkins-bot has submitted this change and it was merged.

Change subject: Document Event methods that can return null
......................................................................


Document Event methods that can return null

Change-Id: Iecb3ba68ae48924c68781e195557954afd770af3
---
M includes/model/Event.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/model/Event.php b/includes/model/Event.php
index 8a30abf..77f65c8 100644
--- a/includes/model/Event.php
+++ b/includes/model/Event.php
@@ -383,7 +383,7 @@
        }
 
        /**
-        * @return string
+        * @return string|null
         */
        public function getVariant() {
                return $this->variant;
@@ -401,7 +401,7 @@
        }
 
        /**
-        * @return User
+        * @return User|null
         */
        public function getAgent() {
                return $this->agent;

-- 
To view, visit https://gerrit.wikimedia.org/r/232566
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iecb3ba68ae48924c68781e195557954afd770af3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to