Browse Source

fix misplaced semi-colon

Semi-colon when writing the "use as" statement moved to end of line.
Paul Josephson 12 years ago
parent
commit
d02e4ef33d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Console/Command/Task/PluginTask.php

+ 1 - 1
src/Console/Command/Task/PluginTask.php

@@ -133,7 +133,7 @@ class PluginTask extends BakeTask {
 
 			$out = "<?php\n\n";
 			$out .= "namespace {$plugin}\\Controller;\n\n";
-			$out .= "use App\\Controller\\AppController; as BaseController\n\n";
+			$out .= "use App\\Controller\\AppController as BaseController;\n\n";
 			$out .= "class AppController extends BaseController {\n\n";
 			$out .= "}\n";
 			$this->createFile($this->path . $plugin . DS . 'Controller' . DS . $controllerFileName, $out);