Remove @return bool from hooks that don't return anything

Change-Id: I21dcfdb63f0e84dfaee4e075eb26e0d5a6bf3f73
This commit is contained in:
Kunal Mehta 2018-04-15 16:57:41 -07:00 committed by Jdlrobson
parent 98575bb33b
commit 508ae30ea5

View file

@ -33,7 +33,6 @@ class MinervaHooks {
* Extension:MobileFrontend/MobileFrontendFeaturesRegistration
*
* @param MobileFrontend\Features\FeaturesManager $featureManager
* @return bool
*/
public static function onMobileFrontendFeaturesRegistration( $featureManager ) {
$config = MediaWikiServices::getInstance()->getConfigFactory()
@ -76,7 +75,6 @@ class MinervaHooks {
*
* @param array &$testModules
* @param ResourceLoader &$resourceLoader
* @return bool
*/
public static function onResourceLoaderTestModules( array &$testModules,
ResourceLoader &$resourceLoader
@ -114,7 +112,6 @@ class MinervaHooks {
*
* @param SpecialPage $special
* @param string $subpage
* @return bool
*/
public static function onSpecialPageBeforeExecute( SpecialPage $special, $subpage ) {
$name = $special->getName();