diff --git a/includes/EmbedVideoHooks.php b/includes/EmbedVideoHooks.php index e9409e8..da627b1 100644 --- a/includes/EmbedVideoHooks.php +++ b/includes/EmbedVideoHooks.php @@ -127,9 +127,9 @@ public function onBeforePageDisplay( $out, $skin ): void { $config = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'EmbedVideo' ); if ( $config->get( 'EmbedVideoUseEmbedStyleForLocalVideos' ) === true ) { - $out->addModules( 'ext.embedVideo' ); - $out->addModuleStyles( 'ext.embedVideo.styles' ); - $out->addModules( 'ext.embedVideo.overlay' ); + $out->addModules( [ 'ext.embedVideo' ] ); + $out->addModuleStyles( [ 'ext.embedVideo.styles' ] ); + $out->addModules( [ 'ext.embedVideo.overlay' ] ); } }