Merge "Add config for serving main Page from the domain root"
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoaderForeignApiModule.php
index 7ed0831..152a1f7 100644 (file)
@@ -1,8 +1,5 @@
 <?php
 /**
- * ResourceLoader module for mediawiki.ForeignApi that has dynamically
- * generated dependencies, via a hook usable by extensions.
- *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  */
 
 /**
- * ResourceLoader module for mediawiki.ForeignApi and its generated data
+ * Module for mediawiki.ForeignApi that has dynamically
+ * generated dependencies, via a hook usable by extensions.
+ *
+ * @ingroup ResourceLoader
+ * @internal
  */
 class ResourceLoaderForeignApiModule extends ResourceLoaderFileModule {
        public function getDependencies( ResourceLoaderContext $context = null ) {
                $dependencies = $this->dependencies;
-               Hooks::run( 'ResourceLoaderForeignApiModules', array( &$dependencies, $context ) );
+               Hooks::run( 'ResourceLoaderForeignApiModules', [ &$dependencies, $context ] );
                return $dependencies;
        }
 }