Mattflaschen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/232566
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/66/232566/1
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: newchange
Gerrit-Change-Id: Iecb3ba68ae48924c68781e195557954afd770af3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits