Merge "resourceloader: Move packaging to a new getModuleContent() method"
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoaderModule.php
index 8d4804c..874eb66 100644 (file)
@@ -333,9 +333,14 @@ abstract class ResourceLoaderModule {
         *
         * To add dependencies dynamically on the client side, use a custom
         * loader script, see getLoaderScript()
+        *
+        * Note: It is expected that $context will be made non-optional in the near
+        * future.
+        *
+        * @param ResourceLoaderContext $context
         * @return array List of module names as strings
         */
-       public function getDependencies() {
+       public function getDependencies( ResourceLoaderContext $context = null ) {
                // Stub, override expected
                return array();
        }