Fix phan errors in ChangesListSpecialPage (#6)
authorKunal Mehta <legoktm@member.fsf.org>
Sat, 6 Apr 2019 06:10:08 +0000 (23:10 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Sat, 6 Apr 2019 06:20:02 +0000 (23:20 -0700)
commit7592e1068bf79999c57704f63d319e0784a7ac3a
tree2810fe6ace993192a20d5bffb783be64818b77f6
parenta9e99a3337d76c83f01b42a3e732f61586089412
Fix phan errors in ChangesListSpecialPage (#6)

Specifically in registerFiltersFromDefinitions(), phan was unable to
tell that $groupDefinition['class'] was a string. I think it assumed it
was an integer because the earlier $groupDefinition['priority'] was an
integer.

Use phan's more advanced type documentation system to instruct it that
$className will be a string.

Change-Id: I09f41366b713d6159b57e798cfd1720f42ba30ef
.phan/config.php
includes/specialpage/ChangesListSpecialPage.php