X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Futils%2FAutoloadGenerator.php;h=19f5100a4c3c15d841c730341e99fdc90ff5e8e4;hp=54a86775f8b020194e00b3f52d6688e70a4dbe03;hb=d19826aa35b206847a568a4b2c1c9ffaa615fca5;hpb=ffcb34b56efa29e32434cfe1c55ef8fc076ba9ff diff --git a/includes/utils/AutoloadGenerator.php b/includes/utils/AutoloadGenerator.php index 54a86775f8..19f5100a4c 100644 --- a/includes/utils/AutoloadGenerator.php +++ b/includes/utils/AutoloadGenerator.php @@ -137,13 +137,11 @@ class AutoloadGenerator { // format class-name : path when they get converted into json. foreach ( $this->classes as $path => $contained ) { foreach ( $contained as $fqcn ) { - // Using substr to remove the leading '/' $json[$key][$fqcn] = substr( $path, 1 ); } } foreach ( $this->overrides as $path => $fqcn ) { - // Using substr to remove the leading '/' $json[$key][$fqcn] = substr( $path, 1 ); } @@ -223,7 +221,6 @@ EOD; * @return string */ public function getAutoload( $commandName = 'AutoloadGenerator' ) { - // We need to check whether an extenson.json or skin.json exists or not, and // incase it doesn't, update the autoload.php file. @@ -375,7 +372,7 @@ class ClassCollector { /** * Accepts the next token in an expect sequence * - * @param array + * @param array $token */ protected function tryEndExpect( $token ) { switch ( $this->startToken[0] ) {