@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param \Composer\IO\IOInterface $io |
| 25 | 25 | */ |
| 26 | 26 | public function activate(Composer $composer, IOInterface $io) { |
| 27 | - $installer = new TemplateInstaller($io, $composer); |
|
| 28 | - $composer->getInstallationManager()->addInstaller($installer); |
|
| 29 | - } |
|
| 27 | + $installer = new TemplateInstaller($io, $composer); |
|
| 28 | + $composer->getInstallationManager()->addInstaller($installer); |
|
| 29 | + } |
|
| 30 | 30 | } |
@@ -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; |