@@ -52,6 +52,9 @@ |
||
52 | 52 | static::executeCommand($event, $consolePath, 'braincrafted:bootstrap:install', $options['process-timeout']); |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param string $cmd |
|
57 | + */ |
|
55 | 58 | protected static function executeCommand(CommandEvent $event, $consolePath, $cmd, $timeout = 300) |
56 | 59 | { |
57 | 60 | $php = escapeshellarg(self::getPhp(false)); |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
12 | 12 | use Symfony\Component\Console\Input\InputInterface; |
13 | 13 | use Symfony\Component\Console\Output\OutputInterface; |
14 | - |
|
15 | 14 | use Braincrafted\Bundle\BootstrapBundle\Util\PathUtil; |
16 | 15 | use Symfony\Component\Filesystem\Filesystem; |
17 | 16 | use Symfony\Component\HttpFoundation\Request; |
@@ -139,7 +139,7 @@ |
||
139 | 139 | * |
140 | 140 | * @param OutputInterface $output An OutputInterface instance |
141 | 141 | * |
142 | - * @return empty string if unable to fetch header, or the copyright header as string. |
|
142 | + * @return string string if unable to fetch header, or the copyright header as string. |
|
143 | 143 | */ |
144 | 144 | private function getCopyrightHeader(OutputInterface $output) { |
145 | 145 | $fs = new Filesystem(); |