Completed
Branch nyx-refactor-internal-api (db44a3)
by Quentin
05:28
created
src/Synapse/Cmf/Framework/Engine/Resolver/TemplateResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * @param Variation $variation
36 36
      * @param string    $templateName
37 37
      *
38
-     * @return TemplateInterface
38
+     * @return \Synapse\Cmf\Framework\Theme\Template\Model\TemplateInterface
39 39
      */
40 40
     public function resolve(ThemeInterface $theme, Content $content, Variation $variation, $templateName)
41 41
     {
Please login to merge, or discard this patch.
src/Synapse/Cmf/Framework/Engine/Resolver/VariationResolver.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -121,8 +121,6 @@
 block discarded – undo
121 121
     /**
122 122
      * Create and resolve a variation from given context.
123 123
      *
124
-     * @param Content        $content
125
-     * @param ThemeInterface $theme
126 124
      *
127 125
      * @return Variation
128 126
      */
Please login to merge, or discard this patch.
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/Admin/Bundle/Controller/ComponentAdminController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * @param int     $id
19 19
      * @param Request $request
20 20
      *
21
-     * @return Response
21
+     * @return RedirectResponse
22 22
      */
23 23
     public function addComponentAction($id, $componentTypeId, Request $request)
24 24
     {
Please login to merge, or discard this patch.