'mActorId',
];
- /**
- * @var string[]
- * @var string[] Cached results of getAllRights()
- */
- protected static $mAllRights = false;
-
/** Cache variables */
// @{
/** @var int */
return $this->$name;
} else {
wfLogWarning( 'tried to get non-visible property' );
- return null;
+ $null = null;
+ return $null;
}
}
// overwriting mBlockedby, surely?
$this->load();
+ // @phan-suppress-next-line PhanAccessMethodInternal It's the only allowed use
$block = MediaWikiServices::getInstance()->getBlockManager()->getUserBlock(
$this,
$fromReplica
* @return bool
*/
public function addNewUserLogEntryAutoCreate() {
+ wfDeprecated( __METHOD__, '1.27' );
$this->addNewUserLogEntry( 'autocreate' );
return true;