Completed
Push — rb_menu_page_multi_tree ( 340f7b...71aaa8 )
by Quentin
03:37
created
src/Synapse/Cmf/Framework/Theme/Component/Domain/Command/UpdateCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
     /**
20 20
      * Initialisation function.
21 21
      *
22
-     * @param ComponentInterface $zone
23 22
      */
24 23
     public function init(ComponentInterface $component)
25 24
     {
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
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      * @param int     $componentId
20 20
      * @param Request $request
21 21
      *
22
-     * @return Response
22
+     * @return RedirectResponse
23 23
      */
24 24
     public function deleteAction($zoneId, $componentId, Request $request)
25 25
     {
Please login to merge, or discard this patch.
src/Synapse/Page/Bundle/Form/PageMenu/DataMapper/PageMenuTreeMapper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * PageMenuTreeMapper constructor.
17 17
      *
18
-     * @param $fieldname
18
+     * @param string $fieldname
19 19
      */
20 20
     public function __construct($fieldname)
21 21
     {
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      * @param mixed                     $data
27 27
      * @param RecursiveIteratorIterator $forms
28 28
      *
29
-     * @return array|string
29
+     * @return null|string
30 30
      */
31 31
     public function mapDataToForms($data, $forms)
32 32
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * build submenu tree for each children of $parentId menu contained in $levels.
86 86
      *
87 87
      * @param $parentId
88
-     * @param array $levels
88
+     * @param EntityCollection $levels
89 89
      *
90 90
      * @return array
91 91
      */
Please login to merge, or discard this patch.
src/Synapse/Page/Bundle/Form/PageMenu/PageMenuType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
                 'delete_empty' => true,
39 39
                 'attr' => [
40 40
                     'class' => 'synapse-page-menu-data',
41
-                ], ))
41
+                ],))
42 42
             ->setDataMapper(new PageMenuTreeMapper('menu_tree'))
43 43
         ;
44 44
     }
Please login to merge, or discard this patch.