@@ -15,7 +15,6 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * Create and return a new Zone from given ZoneType and optionnale Component collection. |
| 17 | 17 | * |
| 18 | - * @param ZoneTypeInterface $zoneType |
|
| 19 | 18 | * @param ComponentCollection $components |
| 20 | 19 | * |
| 21 | 20 | * @return ZoneInterface |
@@ -25,7 +24,6 @@ discard block |
||
| 25 | 24 | /** |
| 26 | 25 | * Update given Zone component collection. |
| 27 | 26 | * |
| 28 | - * @param ZoneTypeInterface $zoneType |
|
| 29 | 27 | * @param ComponentCollection $components |
| 30 | 28 | */ |
| 31 | 29 | public function edit(ZoneInterface $zone, ComponentCollection $components); |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | * |
| 21 | 21 | * @param Request $request |
| 22 | 22 | * |
| 23 | - * @return Response |
|
| 23 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 24 | 24 | */ |
| 25 | 25 | public function listAction(Request $request) |
| 26 | 26 | { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | * @param string $contentType |
| 56 | 56 | * @param int $contentId |
| 57 | 57 | * |
| 58 | - * @return Response |
|
| 58 | + * @return RedirectResponse |
|
| 59 | 59 | */ |
| 60 | 60 | public function initAction(Request $request, $templateType, $contentType, $contentId = null) |
| 61 | 61 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * |
| 87 | 87 | * @param Request $request |
| 88 | 88 | * |
| 89 | - * @return Response |
|
| 89 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 90 | 90 | */ |
| 91 | 91 | public function editAction($id, Request $request) |
| 92 | 92 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * @param string $componentTypeId |
| 148 | 148 | * @param Request $request |
| 149 | 149 | * |
| 150 | - * @return Response |
|
| 150 | + * @return RedirectResponse |
|
| 151 | 151 | */ |
| 152 | 152 | public function addComponentAction($id, $zoneTypeId, $componentTypeId, Request $request) |
| 153 | 153 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 9 | 9 | use Synapse\Cmf\Bundle\Form\Type\Theme\TemplateType; |
| 10 | 10 | use Synapse\Cmf\Framework\Theme\Template\Model\TemplateInterface; |
| 11 | -use Synapse\Cmf\Framework\Theme\Theme\Model\ThemeInterface; |
|
| 12 | 11 | |
| 13 | 12 | /** |
| 14 | 13 | * Controller for template management use cases action. |
@@ -13,11 +13,9 @@ |
||
| 13 | 13 | use Symfony\Component\Form\FormView; |
| 14 | 14 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 15 | 15 | use Synapse\Cmf\Framework\Engine\Resolver\VariationResolver; |
| 16 | -use Synapse\Cmf\Framework\Theme\ComponentType\Model\ComponentTypeInterface; |
|
| 17 | 16 | use Synapse\Cmf\Framework\Theme\ContentType\Model\ContentTypeInterface; |
| 18 | 17 | use Synapse\Cmf\Framework\Theme\TemplateType\Model\TemplateTypeInterface; |
| 19 | 18 | use Synapse\Cmf\Framework\Theme\Theme\Model\ThemeInterface; |
| 20 | -use Synapse\Cmf\Framework\Theme\Variation\Entity\Variation; |
|
| 21 | 19 | use Synapse\Cmf\Framework\Theme\Variation\Entity\VariationContext; |
| 22 | 20 | use Synapse\Cmf\Framework\Theme\Zone\Domain\Command\UpdateCommand; |
| 23 | 21 | use Synapse\Cmf\Framework\Theme\Zone\Domain\ZoneDomain; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Synapse\Cmf\Framework\Engine\Exception\InvalidThemeException; |
| 6 | 6 | use Synapse\Cmf\Framework\Theme\Theme\Loader\LoaderInterface as ThemeLoader; |
| 7 | -use Synapse\Cmf\Framework\Theme\Theme\Model\ThemeInterface; |
|
| 8 | 7 | |
| 9 | 8 | class ThemeResolver |
| 10 | 9 | { |
@@ -19,7 +19,6 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * Initialisation function. |
| 21 | 21 | * |
| 22 | - * @param ComponentInterface $zone |
|
| 23 | 22 | */ |
| 24 | 23 | public function init(ComponentInterface $component) |
| 25 | 24 | { |