resourceloader: Use self::class instead of 'self'
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoader.php
index 4cf8735..f051cd4 100644 (file)
@@ -1445,7 +1445,7 @@ MESSAGE;
                        }
                }
 
-               array_walk( $modules, [ 'self', 'trimArray' ] );
+               array_walk( $modules, [ self::class, 'trimArray' ] );
 
                return Xml::encodeJsCall(
                        'mw.loader.register',