Completed
Pull Request — master (#1542)
by Ayrton
07:48
created
EventListener/BodyListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     /**
132 132
      * Check if the Request is a not a DELETE with no content and no Content-Type.
133 133
      *
134
-     * @param $method
134
+     * @param string $method
135 135
      * @param $content
136 136
      * @param $contentType
137 137
      *
Please login to merge, or discard this patch.
View/ViewHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
      * configuration if the form instance has errors.
232 232
      *
233 233
      * @param View  $view
234
-     * @param mixed $content
234
+     * @param string|null $content
235 235
      *
236 236
      * @return int HTTP status code
237 237
      */
Please login to merge, or discard this patch.
Negotiation/FormatNegotiator.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,6 +47,7 @@  discard block
 block discarded – undo
47 47
      * The best format is also determined in function of the bundle configuration.
48 48
      *
49 49
      * @throws StopFormatListenerException
50
+     * @param string $header
50 51
      */
51 52
     public function getBest($header, array $priorities = [])
52 53
     {
@@ -108,7 +109,7 @@  discard block
 block discarded – undo
108 109
     }
109 110
 
110 111
     /**
111
-     * @param array $values
112
+     * @param string[] $values
112 113
      *
113 114
      * @return array
114 115
      */
Please login to merge, or discard this patch.
EventListener/ViewResponseListener.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,6 @@
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @param Request  $request
139 138
      * @param Template $template
140 139
      * @param object   $controller
141 140
      * @param string   $action
Please login to merge, or discard this patch.
Serializer/Normalizer/ExceptionHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param JsonSerializationVisitor $visitor
45
-     * @param Exception                $exception
45
+     * @param \Exception                $exception
46 46
      * @param array                    $type
47 47
      * @param Context                  $context
48 48
      *
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
     /**
63 63
      * @param XmlSerializationVisitor $visitor
64
-     * @param Exception               $exception
64
+     * @param \Exception               $exception
65 65
      * @param array                   $type
66 66
      * @param Context                 $context
67 67
      */
Please login to merge, or discard this patch.
Context/Context.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     /**
197 197
      * Gets the normalization max depth.
198 198
      *
199
-     * @return int|null
199
+     * @return integer
200 200
      *
201 201
      * @deprecated since version 2.1, to be removed in 3.0. Use {@link self::isMaxDepthEnabled()} instead.
202 202
      */
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     }
221 221
 
222 222
     /**
223
-     * @return bool|null
223
+     * @return boolean
224 224
      */
225 225
     public function isMaxDepthEnabled()
226 226
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     /**
245 245
      * Gets serialize null.
246 246
      *
247
-     * @return bool|null
247
+     * @return boolean
248 248
      */
249 249
     public function getSerializeNull()
250 250
     {
Please login to merge, or discard this patch.