Completed
Push — master ( a6d9e9...0b7153 )
by Quentin
03:57
created
src/Synapse/Cmf/Framework/Media/Image/Action/Dal/AbstractDalAction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     /**
150 150
      * Returns action tags.
151 151
      *
152
-     * @return array
152
+     * @return string
153 153
      */
154 154
     public function getTags()
155 155
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     /**
160 160
      * Define action tags.
161 161
      *
162
-     * @param array|string $tags
162
+     * @param string $tags
163 163
      *
164 164
      * @return self
165 165
      */
Please login to merge, or discard this patch.
src/Synapse/Cmf/Framework/Theme/Template/Loader/LoaderInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
     /**
15 15
      * Retrieve a template from a content type and a template type.
16 16
      *
17
-     * @param TemplateType $theme
18 17
      * @param Content      $content
19 18
      *
20 19
      * @return TemplateInterface|null
Please login to merge, or discard this patch.
src/Synapse/Cmf/Framework/Theme/Variation/Entity/Variation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@
 block discarded – undo
36 36
      *
37 37
      * @see PropertyAccessorInterface::getValue()
38 38
      *
39
-     * @param sgring $namespace
40
-     * @param string $path
39
+     * @param string $namespace
41 40
      * @param string $element
42 41
      * @param mixed  $default
42
+     * @param string $key
43 43
      *
44 44
      * @return mixed
45 45
      */
Please login to merge, or discard this patch.
Synapse/Demo/Bundle/AppBundle/DataFixtures/ORM/DemoThemeFixturesLoader.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,7 @@
 block discarded – undo
10 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
11 11
 use Synapse\Cmf\Bundle\Entity\Orm\Template;
12 12
 use Synapse\Cmf\Framework\Theme\Component\Entity\ComponentCollection;
13
-use Synapse\Cmf\Framework\Theme\Content\Entity\Content;
14 13
 use Synapse\Cmf\Framework\Theme\Zone\Entity\ZoneCollection;
15
-use Synapse\Page\Bundle\Entity\Page;
16 14
 
17 15
 /**
18 16
  * Demo site fixtures loader.
Please login to merge, or discard this patch.
src/Synapse/Page/Bundle/Controller/PageAdminController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @param Request $request
50 50
      *
51
-     * @return Response
51
+     * @return \Symfony\Component\HttpFoundation\Response
52 52
      */
53 53
     public function listAction(Request $request)
54 54
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param Request $request
65 65
      *
66
-     * @return Response
66
+     * @return \Symfony\Component\HttpFoundation\Response
67 67
      */
68 68
     public function createAction(Request $request)
69 69
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      *
102 102
      * @param Request $request
103 103
      *
104
-     * @return Response
104
+     * @return \Symfony\Component\HttpFoundation\Response
105 105
      */
106 106
     public function editAction(Page $page, Request $request)
107 107
     {
Please login to merge, or discard this patch.
src/Synapse/Cmf/Bundle/Loader/Orm/TemplateOrmLoader.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@
 block discarded – undo
87 87
                 ->andWhere('template.templateTypeId = :templateTypeId')
88 88
                 ->andWhere('template.contentTypeName = :contentTypeName')
89 89
                 ->andWhere($queryBuilder->expr()->orX(
90
-                   $queryBuilder->expr()->eq('template.contentId', ':contentId'),
91
-                   $queryBuilder->expr()->isNull('template.contentId')
90
+                    $queryBuilder->expr()->eq('template.contentId', ':contentId'),
91
+                    $queryBuilder->expr()->isNull('template.contentId')
92 92
                 ))
93 93
                 ->setParameters(array(
94 94
                     'templateTypeId' => $templateType->getId(),
Please login to merge, or discard this patch.
src/Synapse/Cmf/Framework/Theme/Zone/Domain/DomainInterface.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Synapse/Admin/Bundle/Controller/TemplateAdminController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Synapse/Cmf/Bundle/Form/Type/Theme/ZoneType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.