@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * This file is part of the Superdesk Web Publisher Content Bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * This file is part of the Superdesk Web Publisher Content Bundle. |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Superdesk Web Publisher Menu Bundle. |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | ->add('parent', MenuItemSelectorType::class) |
| 36 | 36 | ->add('route', RouteSelectorType::class); |
| 37 | 37 | |
| 38 | - $builder->addEventListener(FormEvents::POST_SET_DATA, function (FormEvent $event) { |
|
| 38 | + $builder->addEventListener(FormEvents::POST_SET_DATA, function(FormEvent $event) { |
|
| 39 | 39 | $menuItem = $event->getData(); |
| 40 | 40 | $form = $event->getForm(); |
| 41 | 41 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * This file is part of the Superdesk Web Publisher Content Bundle. |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | * @throws NotFoundHttpException |
| 186 | 186 | * @throws \Exception |
| 187 | 187 | * |
| 188 | - * @return \Symfony\Component\HttpFoundation\Response |
|
| 188 | + * @return SingleResourceResponse |
|
| 189 | 189 | */ |
| 190 | 190 | public function linkUnlinkToContainerAction(Request $request, $id) |
| 191 | 191 | { |
@@ -108,6 +108,9 @@ |
||
| 108 | 108 | return $this->renderer; |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | + /** |
|
| 112 | + * @return \SWP\Component\TemplatesSystem\Gimme\Model\ContainerInterface |
|
| 113 | + */ |
|
| 111 | 114 | public function createNewContainer($name, array $parameters = []) |
| 112 | 115 | { |
| 113 | 116 | $containerEntity = $this->serviceContainer->get('swp.factory.container')->create(); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * This file is part of the Superdesk Web Publisher Content Bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * This file is part of the Superdesk Web Publisher Content Bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * This file is part of the Superdesk Web Publisher Content Bundle. |