Completed
Branch nyx-refactor-internal-api (db44a3)
by Quentin
05:28
created
src/Synapse/Admin/Bundle/Controller/TemplateAdminController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      *
19 19
      * @param Request $request
20 20
      *
21
-     * @return Response
21
+     * @return \Symfony\Component\HttpFoundation\Response
22 22
      */
23 23
     public function listAction(Request $request)
24 24
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param string  $contentType
49 49
      * @param int     $contentId
50 50
      *
51
-     * @return Response
51
+     * @return RedirectResponse
52 52
      */
53 53
     public function initAction(Request $request, $templateType, $contentType, $contentId = null)
54 54
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * @param Request $request
78 78
      *
79
-     * @return Response
79
+     * @return \Symfony\Component\HttpFoundation\Response
80 80
      */
81 81
     public function editAction($id, Request $request)
82 82
     {
Please login to merge, or discard this patch.
src/Synapse/Admin/Bundle/Controller/ZoneAdminController.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.
src/Synapse/Cmf/Bundle/Distribution/Theme/Bundle/Configuration.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -118,6 +118,10 @@
 block discarded – undo
118 118
         return $treeBuilder;
119 119
     }
120 120
 
121
+    /**
122
+     * @param string $nodeName
123
+     * @param string $hydrationStrategy
124
+     */
121 125
     private function createVariableNode($nodeName, $hydrationStrategy)
122 126
     {
123 127
         $builder = new TreeBuilder();
Please login to merge, or discard this patch.
src/Synapse/Cmf/Framework/Engine/Context/Content/RenderingContext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     /**
56 56
      * Returns context template content.
57 57
      *
58
-     * @return Content
58
+     * @return \Synapse\Cmf\Framework\Theme\Content\Model\ContentInterface
59 59
      */
60 60
     public function getContent()
61 61
     {
Please login to merge, or discard this patch.
src/Synapse/Cmf/Framework/Engine/Context/RenderingContextStack.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     /**
60 60
      * Returns level of stack (0 is empty, 1 is master context, 2 for zone contexts).
61 61
      *
62
-     * @return int
62
+     * @return string
63 63
      */
64 64
     public function getLevel()
65 65
     {
Please login to merge, or discard this patch.
src/Synapse/Cmf/Framework/Engine/Decorator/Component/FragmentDecorator.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@
 block discarded – undo
44 44
      * Proxy to prepare() method, using current context as argument.
45 45
      *
46 46
      * @param ComponentInterface $component
47
-     * @param RenderingContext   $templateContext
48 47
      *
49 48
      * @return self
50 49
      */
Please login to merge, or discard this patch.
src/Synapse/Cmf/Framework/Engine/Renderer/Zone/ZoneRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * Construct.
35 35
      *
36 36
      * @param RenderingContextStack      $contextStack
37
-     * @param ComponentRendererInterface $componentDecorator
37
+     * @param FragmentDecorator $componentDecorator
38 38
      * @param array                      $aggregators
39 39
      */
40 40
     public function __construct(
Please login to merge, or discard this patch.
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.