Completed
Pull Request — master (#812)
by Paul
06:29
created
Bundle/ORMBusinessEntityBundle/Resolver/ORMBusinessEntityResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * filter repo to get a list of entities.
37 37
      *
38 38
      * @param ORMBusinessEntity $businessEntity
39
-     * @param array             $filters
39
+     * @param array             $filter
40 40
      *
41 41
      * @return mixed
42 42
      */
Please login to merge, or discard this patch.
Bundle/PageBundle/Helper/PageHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
      * populate the page with given entity.
243 243
      *
244 244
      * @param View           $page
245
-     * @param BusinessEntity $entity
245
+     * @param BusinessEntityInterface $entity
246 246
      */
247 247
     public function updatePageWithEntity(BusinessTemplate $page, $entity)
248 248
     {
Please login to merge, or discard this patch.
Bundle/ViewReferenceBundle/Helper/ViewReferenceHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param View  $view
35
-     * @param mixed $entity
35
+     * @param mixed $entityId
36 36
      *
37 37
      * @return string
38 38
      */
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param [] $tree
68
+     * @param WebViewInterface[] $tree
69 69
      */
70 70
     public function buildViewReferenceRecursively($tree, EntityManager $entityManager, $isRoot = true)
71 71
     {
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Builder/WidgetFormBuilder.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -123,9 +123,10 @@  discard block
 block discarded – undo
123 123
      *
124 124
      * @param string           $slot
125 125
      * @param View             $view
126
-     * @param Widget           $widget
126
+     * @param Widget           $widgets
127 127
      * @param BusinessEntity[] $classes
128 128
      * @param int              $position
129
+     * @param \Victoire\Bundle\WidgetBundle\Model\Widget $activeWidget
129 130
      *
130 131
      * @throws \Exception
131 132
      *
@@ -150,7 +151,6 @@  discard block
 block discarded – undo
150 151
      * @param Widget $widget
151 152
      * @param View   $view
152 153
      * @param string $businessEntityId
153
-     * @param string $namespace
154 154
      * @param int    $position
155 155
      * @param string $slot
156 156
      *
@@ -181,7 +181,6 @@  discard block
 block discarded – undo
181 181
      * @param Widget $widget
182 182
      * @param View   $view
183 183
      * @param string $businessEntityId
184
-     * @param string $namespace
185 184
      * @param string $formMode
186 185
      * @param int    $position
187 186
      *
@@ -297,9 +296,9 @@  discard block
 block discarded – undo
297 296
      * @param Widget $widget           the widget
298 297
      * @param View   $view             the page
299 298
      * @param string $businessEntityId the entity class
300
-     * @param string $namespace        the namespace
301 299
      * @param string $formMode         the form mode
302 300
      * @param int    $position
301
+     * @param string $slotId
303 302
      *
304 303
      * @throws \Exception
305 304
      *
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Entity/Widget.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * Get businessEntityName.
174 174
      *
175
-     * @return int
175
+     * @return string
176 176
      */
177 177
     public function getBusinessEntityName()
178 178
     {
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
     /**
370 370
      * Set widgets.
371 371
      *
372
-     * @param [WidgetMap] $widgetMaps
372
+     * @param [WidgetMap] $widgetMap
373 373
      *
374 374
      * @return Widget
375 375
      */
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
     }
501 501
 
502 502
     /**
503
-     * @param $criteriaAlias
503
+     * @param string $criteriaAlias
504 504
      *
505 505
      * @return bool
506 506
      */
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Helper/WidgetHelper.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,6 @@
 block discarded – undo
52 52
      * create a new WidgetRedactor.
53 53
      *
54 54
      * @param string                                  $type
55
-     * @param \Victoire\Bundle\CoreBundle\Entity\View $view
56
-     * @param string                                  $slot
57 55
      * @param string                                  $mode
58 56
      *
59 57
      * @return Widget $widget
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Model/WidgetManager.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,6 @@
 block discarded – undo
54 54
      * @param Request               $request
55 55
      * @param WidgetMapManager      $widgetMapManager
56 56
      * @param WidgetMapBuilder      $widgetMapBuilder
57
-     * @param BusinessEntityHelper  $cacheReader
58 57
      * @param EngineInterface       $templating
59 58
      * @param PageHelper            $pageHelper
60 59
      * @param array                 $slots
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Renderer/WidgetRenderer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Victoire\Bundle\WidgetBundle\Cache\WidgetCache;
16 16
 use Victoire\Bundle\WidgetBundle\Entity\Widget;
17 17
 use Victoire\Bundle\WidgetBundle\Helper\WidgetHelper;
18
-use Victoire\Bundle\WidgetMapBundle\Entity\Slot;
19 18
 use Victoire\Bundle\WidgetMapBundle\Helper\WidgetMapHelper;
20 19
 
21 20
 class WidgetRenderer
Please login to merge, or discard this patch.
Bundle/BusinessPageBundle/Builder/BusinessPageBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
          * @param bool $autoload
99 99
          * @return array
100 100
          */
101
-        $class_uses_deep = function ($class, $autoload = true) {
101
+        $class_uses_deep = function($class, $autoload = true) {
102 102
             $traits = [];
103 103
             do {
104 104
                 $traits = array_merge(class_uses($class, $autoload), $traits);
Please login to merge, or discard this patch.