CategoryManager: Fix type annotations

...and provide better ones for phan.

Change-Id: Ic615f8765ebf2941b4fe72020ecacece06998ec6
This commit is contained in:
Kunal Mehta 2019-12-16 21:56:43 -08:00 committed by Umherirrender
parent ce6d640140
commit 562a3881a9

View file

@ -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 = [];