mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 01:10:07 +00:00
Merge "Document Event methods that can return null"
This commit is contained in:
commit
fb18eededc
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue