mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-13 17:57:21 +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() {
|
public function getVariant() {
|
||||||
return $this->variant;
|
return $this->variant;
|
||||||
|
@ -401,7 +401,7 @@ class EchoEvent extends EchoAbstractEntity{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return User
|
* @return User|null
|
||||||
*/
|
*/
|
||||||
public function getAgent() {
|
public function getAgent() {
|
||||||
return $this->agent;
|
return $this->agent;
|
||||||
|
|
Loading…
Reference in a new issue