소스 검색

Fix array notation

Thomas Rabaix 11 년 전
부모
커밋
c7326ffcd4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Generator/ControllerGenerator.php

+ 2 - 2
Generator/ControllerGenerator.php

@@ -58,10 +58,10 @@ class ControllerGenerator extends Generator
             ));
         }
 
-        $this->renderFile('AdminController.php.twig', $this->file, [
+        $this->renderFile('AdminController.php.twig', $this->file, array(
             'classBasename' => array_pop($parts),
             'namespace' => implode('\\', $parts)
-        ]);
+        ));
     }
 
     /**