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=89539f2aa1b158fdcc703ad053e2580cb97a6385;hpb=e1090009434d4908a37c8bc481fe07e96c5f647f 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] ) {