@@ -104,6 +104,9 @@ |
||
| 104 | 104 | } |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | + /** |
|
| 108 | + * @param string $dst |
|
| 109 | + */ |
|
| 107 | 110 | protected function copyFolder($src, $dst) { |
| 108 | 111 | $finder = new Finder(); |
| 109 | 112 | $srcFiles = $finder->files()->in($src)->ignoreDotFiles(false); |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Console\Command\Command; |
| 6 | 6 | use Symfony\Component\Console\Input\InputInterface; |
| 7 | -use Symfony\Component\Console\Input\InputOption; |
|
| 8 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
| 9 | 8 | use Symfony\Component\Filesystem\Filesystem; |
| 10 | 9 | use Symfony\Component\Console\Question\Question; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | - * @param $id |
|
| 76 | + * @param string $id |
|
| 77 | 77 | * |
| 78 | 78 | * @return object |
| 79 | 79 | */ |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | - * @param $key |
|
| 85 | + * @param string $key |
|
| 86 | 86 | * |
| 87 | 87 | * @return mixed|null |
| 88 | 88 | * |
@@ -36,9 +36,9 @@ |
||
| 36 | 36 | /** @var TemplatePlugin $plugin */ |
| 37 | 37 | $plugin = Config::getDependency('engine.plugin'); |
| 38 | 38 | |
| 39 | - $this->addFunction(new \Twig_SimpleFunction('meta', [$plugin, 'meta'], ['is_safe' => ['html'],])); |
|
| 40 | - $this->addFunction(new \Twig_SimpleFunction('css', [$plugin, 'css'], ['is_safe' => ['html'],])); |
|
| 41 | - $this->addFunction(new \Twig_SimpleFunction('js', [$plugin, 'js'], ['is_safe' => ['html'],])); |
|
| 39 | + $this->addFunction(new \Twig_SimpleFunction('meta', [$plugin, 'meta'], ['is_safe' => ['html'], ])); |
|
| 40 | + $this->addFunction(new \Twig_SimpleFunction('css', [$plugin, 'css'], ['is_safe' => ['html'], ])); |
|
| 41 | + $this->addFunction(new \Twig_SimpleFunction('js', [$plugin, 'js'], ['is_safe' => ['html'], ])); |
|
| 42 | 42 | $this->addFunction(new \Twig_SimpleFunction('image', [$plugin, 'image'])); |
| 43 | 43 | } |
| 44 | 44 | |