Completed
Push — master ( 0eab77...b2f729 )
by Paul
05:35
created
Bundle/CoreBundle/Builder/ViewCssBuilder.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Construct.
24 24
      *
25
-     * @param EngineInterface $templating
26 25
      * @param                 $victoireTwigResponsive
27 26
      * @param                 $kernelRootDir
28 27
      *
@@ -39,9 +38,9 @@  discard block
 block discarded – undo
39 38
     /**
40 39
      * Update css by removing old file and writing new file.
41 40
      *
42
-     * @param $oldHash
41
+     * @param string $oldHash
43 42
      * @param View  $view
44
-     * @param array $widgets
43
+     * @param \Victoire\Bundle\WidgetBundle\Entity\Widget[] $widgets
45 44
      */
46 45
     public function updateViewCss($oldHash, View $view, array $widgets)
47 46
     {
@@ -159,7 +158,7 @@  discard block
 block discarded – undo
159 158
      * Write css file.
160 159
      *
161 160
      * @param $view
162
-     * @param $css
161
+     * @param string $css
163 162
      */
164 163
     private function writeCssFile(View $view, $css)
165 164
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Entity/Link.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     /**
396 396
      * Set viewReferencePage.
397 397
      *
398
-     * @param mixed $viewReferencePage
398
+     * @param \Victoire\Bundle\PageBundle\Entity\Page $viewReferencePage
399 399
      *
400 400
      * @return Link
401 401
      */
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
     }
428 428
 
429 429
     /**
430
-     * @return mixed
430
+     * @return string
431 431
      */
432 432
     public function getModalLayout()
433 433
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Entity/View.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     /**
229 229
      * Get template.
230 230
      *
231
-     * @return View
231
+     * @return string
232 232
      */
233 233
     public function getTemplate()
234 234
     {
@@ -815,7 +815,7 @@  discard block
 block discarded – undo
815 815
     }
816 816
 
817 817
     /**
818
-     * @return array
818
+     * @return boolean
819 819
      */
820 820
     public function getRoles()
821 821
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Handler/WidgetExceptionHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * Constructor.
22 22
      *
23
-     * @param SecurityContext $authorizationChecker
23
+     * @param AuthorizationChecker $authorizationChecker
24 24
      * @param bool            $debug                The debug variable environment
25 25
      * @param Container       $container
26 26
      */
Please login to merge, or discard this patch.
Bundle/CoreBundle/Twig/Extension/RoutingExtension.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/FormBundle/Form/Type/LinkType.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      *
131 131
      * @param                                    $linkType
132 132
      * @param                                    $locale
133
-     * @param FormBuilderInterface|FormInterface $form
133
+     * @param FormInterface $form
134 134
      * @param FormBuilderInterface               $builder
135 135
      * @param array                              $options
136 136
      */
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      * Add the types related to the target value.
203 203
      *
204 204
      * @param string                             $target
205
-     * @param FormBuilderInterface|FormInterface $form
205
+     * @param FormInterface $form
206 206
      * @param array                              $options
207 207
      */
208 208
     protected function manageTargetRelatedFields($target, $form, $options)
Please login to merge, or discard this patch.
Bundle/MediaBundle/Helper/RemoteVideo/RemoteVideoHandler.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -108,11 +108,11 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-     * @param $link
111
+     * @param string $link
112 112
      *
113 113
      * @throws VideoException
114 114
      *
115
-     * @return mixed
115
+     * @return string|null
116 116
      */
117 117
     public function isolateVimeoVideoCode($link)
118 118
     {
@@ -126,11 +126,11 @@  discard block
 block discarded – undo
126 126
     }
127 127
 
128 128
     /**
129
-     * @param $link
129
+     * @param string $link
130 130
      *
131 131
      * @throws VideoException
132 132
      *
133
-     * @return mixed
133
+     * @return string|null
134 134
      */
135 135
     public function isolateYoutubeVideoCode($link)
136 136
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @param $link
147
+     * @param string $link
148 148
      *
149 149
      * @throws VideoException
150 150
      *
Please login to merge, or discard this patch.
Bundle/PageBundle/Entity/Traits/WebViewTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@
 block discarded – undo
182 182
         return PropertyAccess::createPropertyAccessor()->getValue($this->translate($currentLocale, false), 'getUrl');
183 183
     }
184 184
 
185
+    /**
186
+     * @param string $name
187
+     */
185 188
     public function setUrl($name, $locale = null)
186 189
     {
187 190
         $this->translate($locale)->setUrl($name);
Please login to merge, or discard this patch.
Bundle/WidgetMapBundle/Builder/WidgetMapBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      * Create a $slot array that'll contain, for each slot, a widgetmap id as key and a widgetmap as value
141 141
      * Do not keeps widgetMaps that are overwrited.
142 142
      *
143
-     * @param $widgetMaps
143
+     * @param WidgetMap[] $widgetMaps
144 144
      *
145 145
      * @return array
146 146
      */
Please login to merge, or discard this patch.