Browse Source

Fix array notation

Thomas Rabaix 11 năm trước cách đây
mục cha
commit
adb86b85bc
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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)
-        ]);
+        ));
     }
 
     /**