user: Fix documentation of User::mBlock and related

Change-Id: Ia71c81a96fe74bf8d75fe826af432b0e3ff4c52c
This commit is contained in:
Thiemo Kreuz 2019-09-19 13:05:36 +02:00 committed by Umherirrender
parent c1e527a1c0
commit bcbd880b13

View file

@ -200,7 +200,7 @@ class User implements IDBAccessObject, UserIdentity {
/** @var WebRequest */
private $mRequest;
/** @var AbstractBlock */
/** @var AbstractBlock|null */
public $mBlock;
/** @var bool */
@ -2106,7 +2106,7 @@ class User implements IDBAccessObject, UserIdentity {
/**
* If user is blocked, return the ID for the block
* @return int Block ID
* @return int|false
*/
public function getBlockId() {
$this->getBlockedStatus();