@@ -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 Templates System. |
@@ -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 Templates System. |
@@ -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 Templates System. |
@@ -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 Templates System. |
@@ -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 Templates System. |
@@ -189,7 +189,7 @@ |
||
189 | 189 | * @throws NotFoundHttpException |
190 | 190 | * @throws \Exception |
191 | 191 | * |
192 | - * @return \Symfony\Component\HttpFoundation\Response |
|
192 | + * @return SingleResourceResponse |
|
193 | 193 | */ |
194 | 194 | public function linkUnlinkToContainerAction(Request $request, $id) |
195 | 195 | { |
@@ -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 Templates System. |
@@ -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 Templates System. |