From b410f768f9d4f4524245dbe4f4d433e4e3fd951a Mon Sep 17 00:00:00 2001 From: Matthew Flaschen Date: Wed, 19 Aug 2015 15:18:27 -0400 Subject: [PATCH] Document Event methods that can return null Change-Id: Iecb3ba68ae48924c68781e195557954afd770af3 --- includes/model/Event.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/model/Event.php b/includes/model/Event.php index 8a30abfd3..77f65c825 100644 --- a/includes/model/Event.php +++ b/includes/model/Event.php @@ -383,7 +383,7 @@ class EchoEvent extends EchoAbstractEntity{ } /** - * @return string + * @return string|null */ public function getVariant() { return $this->variant; @@ -401,7 +401,7 @@ class EchoEvent extends EchoAbstractEntity{ } /** - * @return User + * @return User|null */ public function getAgent() { return $this->agent;