Explorar el Código

Fix array notation

Thomas Rabaix hace 11 años
padre
commit
c7326ffcd4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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),
             'classBasename' => array_pop($parts),
             'namespace' => implode('\\', $parts)
             'namespace' => implode('\\', $parts)
-        ]);
+        ));
     }
     }
 
 
     /**
     /**