mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Fix broken PHPDoc comment
Also bring @var comments in a canonical form. Change-Id: I9916bde1d3aa5fb44753109112bb898811cbf0ac
This commit is contained in:
parent
2fde400edc
commit
861b1bf05b
|
@ -26,7 +26,7 @@ class Throttle extends Consequence implements ConsequencesDisablerConsequence {
|
|||
private $userFactory;
|
||||
/** @var LoggerInterface */
|
||||
private $logger;
|
||||
/** @var $bool */
|
||||
/** @var bool */
|
||||
private $filterIsCentral;
|
||||
/** @var string|null */
|
||||
private $centralDB;
|
||||
|
|
|
@ -70,7 +70,7 @@ class VariablesManager {
|
|||
): AFPData {
|
||||
$varName = strtolower( $varName );
|
||||
if ( $holder->varIsSet( $varName ) ) {
|
||||
/** @var $variable LazyLoadedVariable|AFPData */
|
||||
/** @var LazyLoadedVariable|AFPData $variable */
|
||||
$variable = $holder->getVarThrow( $varName );
|
||||
if ( $variable instanceof LazyLoadedVariable ) {
|
||||
$getVarCB = function ( string $varName ) use ( $holder ): AFPData {
|
||||
|
|
Loading…
Reference in a new issue