mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-27 17:20:12 +00:00
CategoryManager: Fix type annotations
...and provide better ones for phan. Change-Id: Ic615f8765ebf2941b4fe72020ecacece06998ec6
This commit is contained in:
parent
ce6d640140
commit
562a3881a9
|
@ -49,12 +49,14 @@ class CategoryManager {
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[]
|
* @var bool[]
|
||||||
|
* @phan-var array<string,bool>
|
||||||
*/
|
*/
|
||||||
private $parserMigrationCategories = [];
|
private $parserMigrationCategories = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[]
|
* @var bool[]
|
||||||
|
* @phan-var array<string,bool>
|
||||||
*/
|
*/
|
||||||
private $hasNameParam = [];
|
private $hasNameParam = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue