@@ -62,7 +62,7 @@ |
||
| 62 | 62 | * @param OutputInterface $output |
| 63 | 63 | */ |
| 64 | 64 | protected function execute(InputInterface $input, OutputInterface $output) { |
| 65 | - $output->writeln([ // outputs multiple lines to the console (adding "\n" at the end of each line) |
|
| 65 | + $output->writeln([// outputs multiple lines to the console (adding "\n" at the end of each line) |
|
| 66 | 66 | 'MyAdmin DocBlock Parser', |
| 67 | 67 | '=======================', |
| 68 | 68 | '' |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * @param OutputInterface $output |
| 59 | 59 | */ |
| 60 | 60 | protected function execute(InputInterface $input, OutputInterface $output) { |
| 61 | - $output->writeln([ // outputs multiple lines to the console (adding "\n" at the end of each line) |
|
| 61 | + $output->writeln([// outputs multiple lines to the console (adding "\n" at the end of each line) |
|
| 62 | 62 | 'User Creator', |
| 63 | 63 | '============', |
| 64 | 64 | '' |
@@ -143,13 +143,13 @@ |
||
| 143 | 143 | public function getInstallPath(PackageInterface $package) { |
| 144 | 144 | if ($this->type == 'myadmin-template') { |
| 145 | 145 | $this->initializeTemplateDir(); |
| 146 | - $basePath = ($this->templateDir ? $this->templateDir.'/' : '') . $package->getPrettyName(); |
|
| 146 | + $basePath = ($this->templateDir ? $this->templateDir.'/' : '').$package->getPrettyName(); |
|
| 147 | 147 | } else { |
| 148 | 148 | $this->initializeVendorDir(); |
| 149 | - $basePath = ($this->vendorDir ? $this->vendorDir.'/' : '') . $package->getPrettyName(); |
|
| 149 | + $basePath = ($this->vendorDir ? $this->vendorDir.'/' : '').$package->getPrettyName(); |
|
| 150 | 150 | } |
| 151 | 151 | $targetDir = $package->getTargetDir(); |
| 152 | - return $basePath . ($targetDir ? '/'.$targetDir : ''); |
|
| 152 | + return $basePath.($targetDir ? '/'.$targetDir : ''); |
|
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | /** |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * @param OutputInterface $output |
| 59 | 59 | */ |
| 60 | 60 | protected function execute(InputInterface $input, OutputInterface $output) { |
| 61 | - $output->writeln([ // outputs multiple lines to the console (adding "\n" at the end of each line) |
|
| 61 | + $output->writeln([// outputs multiple lines to the console (adding "\n" at the end of each line) |
|
| 62 | 62 | 'User Creator', |
| 63 | 63 | '============', |
| 64 | 64 | '' |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * @param OutputInterface $output |
| 59 | 59 | */ |
| 60 | 60 | protected function execute(InputInterface $input, OutputInterface $output) { |
| 61 | - $output->writeln([ // outputs multiple lines to the console (adding "\n" at the end of each line) |
|
| 61 | + $output->writeln([// outputs multiple lines to the console (adding "\n" at the end of each line) |
|
| 62 | 62 | 'User Creator', |
| 63 | 63 | '============', |
| 64 | 64 | '' |
@@ -92,8 +92,6 @@ |
||
| 92 | 92 | /** |
| 93 | 93 | * adds a requirement into the loader and registers it as a page with the router |
| 94 | 94 | * |
| 95 | - * @param string $function php function name or class.class_name |
|
| 96 | - * @param string $path source file path |
|
| 97 | 95 | */ |
| 98 | 96 | public function add_public_path($page, $source) { |
| 99 | 97 | $this->public_routes['/'.$page] = $source; |