瀏覽代碼

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)
-        ]);
+        ));
     }
 
     /**