소스 검색

Fix array notation

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

+ 2 - 2
Generator/AdminGenerator.php

@@ -61,11 +61,11 @@ class AdminGenerator extends Generator
             ));
         }
 
-        $this->renderFile('Admin.php.twig', $this->file, [
+        $this->renderFile('Admin.php.twig', $this->file, array(
             'classBasename' => array_pop($parts),
             'namespace' => implode('\\', $parts),
             'fields' => $this->modelManager->getExportFields($modelClass)
-        ]);
+        ));
     }
 
     /**