Completed
Pull Request — master (#351)
by Leny
06:37
created
Bundle/ViewReferenceBundle/Connector/ViewReferenceRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * This method return a ViewReference fo an url/locale.
51 51
      *
52
-     * @param $url
52
+     * @param string $url
53 53
      * @param $locale
54 54
      *
55 55
      * @return mixed|null
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * Get first reference matching with parameters.
115 115
      *
116 116
      * @param $parameters
117
-     * @param bool|true  $transform
117
+     * @param boolean  $transform
118 118
      * @param bool|false $keepChildren
119 119
      *
120 120
      * @return mixed
Please login to merge, or discard this patch.
Bundle/PageBundle/Twig/Extension/PageExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * register twig functions.
50 50
      *
51
-     * @return array The list of extensions
51
+     * @return \Twig_SimpleFunction[] The list of extensions
52 52
      */
53 53
     public function getFunctions()
54 54
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Twig/Extension/RoutingExtention.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @param $locale
66 66
      *
67
-     * @return null
67
+     * @return string|null
68 68
      */
69 69
     protected function getPrefix($locale)
70 70
     {
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Form/WidgetStyleType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -242,6 +242,7 @@
 block discarded – undo
242 242
      * Get the bundle name from an Entity namespace.
243 243
      *
244 244
      * @param string $entityNamespace
245
+     * @param \Symfony\Component\HttpKernel\Bundle\BundleInterface[] $bundles
245 246
      *
246 247
      * @return string
247 248
      *
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Builder/WidgetFormBuilder.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -236,6 +236,7 @@
 block discarded – undo
236 236
      * @param string $namespace        the namespace
237 237
      * @param string $formMode         the form mode
238 238
      * @param int    $position
239
+     * @param string $slotId
239 240
      *
240 241
      * @throws \Exception
241 242
      *
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Entity/Widget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -369,7 +369,7 @@
 block discarded – undo
369 369
     /**
370 370
      * Add widget.
371 371
      *
372
-     * @param Widget $widgetMap
372
+     * @param WidgetMap $widgetMap
373 373
      */
374 374
     public function addWidgetMap(WidgetMap $widgetMap)
375 375
     {
Please login to merge, or discard this patch.
Bundle/WidgetMapBundle/Entity/WidgetMap.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
         return $this->id;
113 113
     }
114 114
 
115
+    /**
116
+     * @param null|integer $id
117
+     */
115 118
     public function setId($id)
116 119
     {
117 120
         $this->id = $id;
Please login to merge, or discard this patch.
Bundle/CoreBundle/Entity/View.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -369,7 +369,7 @@
 block discarded – undo
369 369
     /**
370 370
      * Add widget.
371 371
      *
372
-     * @param Widget $widgetMap
372
+     * @param WidgetMap $widgetMap
373 373
      */
374 374
     public function addWidgetMap(WidgetMap $widgetMap)
375 375
     {
Please login to merge, or discard this patch.
Bundle/WidgetMapBundle/Builder/WidgetMapBuilder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -106,6 +106,10 @@
 block discarded – undo
106 106
      * depending of the children parents and positions
107 107
      * @param WidgetMap $currentWidgetMap
108 108
      */
109
+
110
+    /**
111
+     * @param View $view
112
+     */
109 113
     protected function orderizeWidgetMap($currentWidgetMap, $builtWidgetMap, $slot, $widgetMaps, $view){
110 114
         $children = $currentWidgetMap->getChildren($view);
111 115
         foreach ($children as $child) {
Please login to merge, or discard this patch.