Completed
Pull Request — master (#295)
by Sébastien
09:26 queued 02:35
created
Bundle/CoreBundle/Annotations/ReceiverProperty.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
     /**
16 16
      * define supported types.
17 17
      *
18
-     * @param array $types supported types (text, media, date)
19 18
      **/
20 19
     public function __construct($data)
21 20
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Entity/Link.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -405,7 +405,7 @@
 block discarded – undo
405 405
     /**
406 406
      * Set viewReferencePage.
407 407
      *
408
-     * @param mixed $viewReferencePage
408
+     * @param Page $viewReferencePage
409 409
      *
410 410
      * @return $this
411 411
      */
Please login to merge, or discard this patch.
Bundle/CoreBundle/EventSubscriber/WidgetSubscriber.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     /**
42 42
      * Get SubscribedEvents.
43 43
      *
44
-     * @return array
44
+     * @return string[]
45 45
      */
46 46
     public function getSubscribedEvents()
47 47
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Listener/BackendMenuListener.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
      *
37 37
      * @param Event $event
38 38
      *
39
-     * @return Ambigous <\Knp\Menu\ItemInterface, NULL>
39
+     * @return \Knp\Menu\ItemInterface <\Knp\Menu\ItemInterface, NULL>
40 40
      */
41 41
     public function addGlobal(Event $event)
42 42
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Twig/Extension/CmsExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * register twig functions.
64 64
      *
65
-     * @return array The list of extensions
65
+     * @return \Twig_SimpleFunction[] The list of extensions
66 66
      */
67 67
     public function getFunctions()
68 68
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * register twig filters.
81 81
      *
82
-     * @return array The list of filters
82
+     * @return \Twig_SimpleFilter[] The list of filters
83 83
      */
84 84
     public function getFilters()
85 85
     {
Please login to merge, or discard this patch.
Bundle/SeoBundle/Entity/PageSeo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -866,7 +866,7 @@
 block discarded – undo
866 866
     /**
867 867
      * Get sitemapChangeFreq.
868 868
      *
869
-     * @return float
869
+     * @return string
870 870
      */
871 871
     public function getSitemapChangeFreq()
872 872
     {
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Entity/Traits/StyleTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@
 block discarded – undo
432 432
     /**
433 433
      * Set image.
434 434
      *
435
-     * @param string|Media $image
435
+     * @param Media $image
436 436
      *
437 437
      * @return $this
438 438
      */
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Renderer/WidgetRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
      *
194 194
      * @param Widget $widget
195 195
      *
196
-     * @return mixed
196
+     * @return string
197 197
      */
198 198
     public function renderStyle(Widget $widget)
199 199
     {
Please login to merge, or discard this patch.
Bundle/WidgetMapBundle/Builder/WidgetMapBuilder.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Victoire\Bundle\CoreBundle\Entity\View;
6 6
 use Victoire\Bundle\PageBundle\Entity\WidgetMap;
7
-use Victoire\Bundle\WidgetBundle\Entity\Widget;
8 7
 use Victoire\Bundle\WidgetMapBundle\DataTransformer\WidgetMapToArrayTransformer;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
                             array_splice($widgetMap[$slot->getId()], $position - 1, 0, [$viewWidgetMap]);
72 72
                             array_map(
73
-                                function ($key, $_widgetMap) {
73
+                                function($key, $_widgetMap) {
74 74
                                     $_widgetMap->setPosition($key + 1);
75 75
                                 },
76 76
                                 array_keys($widgetMap[$slot->getId()]),
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                             }
94 94
                             array_splice($widgetMap[$slot->getId()], $viewWidgetMap->getPosition() - 1, 0, [$viewWidgetMap]);
95 95
                             array_map(
96
-                                function ($key, $_widgetMap) {
96
+                                function($key, $_widgetMap) {
97 97
                                     $_widgetMap->setPosition($key + 1);
98 98
                                 },
99 99
                                 array_keys($widgetMap[$slot->getId()]),
Please login to merge, or discard this patch.