@@ -19,6 +19,9 @@ |
||
| 19 | 19 | 'collection' => 'Symfony\Component\Form\Extension\Core\Type\CollectionType' |
| 20 | 20 | ); |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $class |
|
| 24 | + */ |
|
| 22 | 25 | public static function getType($class) |
| 23 | 26 | { |
| 24 | 27 | if (self::isLegacy()) { |
@@ -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\HttpFoundation\Request; |
| 17 | 16 | use Symfony\Component\HttpKernel\Kernel; |
@@ -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(Event $event, $consolePath, $cmd, $timeout = 300) |
| 56 | 59 | { |
| 57 | 60 | $php = escapeshellarg(self::getPhp(false)); |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Symfony\Component\Form\AbstractTypeExtension; |
| 10 | 10 | use Symfony\Component\Form\FormView; |
| 11 | 11 | use Symfony\Component\Form\FormInterface; |
| 12 | - |
|
| 13 | 12 | use Braincrafted\Bundle\BootstrapBundle\Util\LegacyFormHelper; |
| 14 | 13 | |
| 15 | 14 | /** |