PreferencesFormOOUI: Avoid Phan warning with weird signature of TabPanelLayout
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 4 Jul 2019 17:38:58 +0000 (19:38 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 4 Jul 2019 17:41:08 +0000 (19:41 +0200)
commitcd8de7de779b20f0794f00954873dda0b47e6f87
tree5f2ef7474d572f9f4f91a87684d8fd6d9e32f81f
parent5326140b308dcdd0b8b8ea4dc43af2d33e8ae3e3
PreferencesFormOOUI: Avoid Phan warning with weird signature of TabPanelLayout

TabPanelLayout is documented to take two parameters, $name and $config.
The $name position parameter can also be passed as a named config option
in the $config array, but doing so confuses Phan, since there's no good
way to document it. Just don't do it.

Bug: T227144
Change-Id: Ifbd776844d722d58bf9f13cacc490407320731c6
includes/specials/forms/PreferencesFormOOUI.php