mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 08:00:32 +00:00
Remove @return bool from hooks that don't return anything
Change-Id: I21dcfdb63f0e84dfaee4e075eb26e0d5a6bf3f73
This commit is contained in:
parent
98575bb33b
commit
508ae30ea5
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue