From 861b1bf05b67def31e490a41c11890f7e3e0f3c3 Mon Sep 17 00:00:00 2001 From: thiemowmde Date: Sun, 11 Aug 2024 17:22:46 +0200 Subject: [PATCH] Fix broken PHPDoc comment Also bring @var comments in a canonical form. Change-Id: I9916bde1d3aa5fb44753109112bb898811cbf0ac --- includes/Consequences/Consequence/Throttle.php | 2 +- includes/Variables/VariablesManager.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Consequences/Consequence/Throttle.php b/includes/Consequences/Consequence/Throttle.php index ad537d30e..ff0112e47 100644 --- a/includes/Consequences/Consequence/Throttle.php +++ b/includes/Consequences/Consequence/Throttle.php @@ -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; diff --git a/includes/Variables/VariablesManager.php b/includes/Variables/VariablesManager.php index 25ed5cec2..bccb727ba 100644 --- a/includes/Variables/VariablesManager.php +++ b/includes/Variables/VariablesManager.php @@ -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 {