Completed
Pull Request — 2.x (#2288)
by Guilhem
17:20
created
EventListener/BodyListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
         }
110 110
     }
111 111
 
112
+    /**
113
+     * @param null|string $contentType
114
+     */
112 115
     private function isNotAnEmptyDeleteRequestWithNoSetContentType(string $method, $content, ?string $contentType): bool
113 116
     {
114 117
         return false === ('DELETE' === $method && empty($content) && empty($contentType));
Please login to merge, or discard this patch.
View/ViewHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -210,6 +210,7 @@
 block discarded – undo
210 210
      * configuration if the form instance has errors.
211 211
      *
212 212
      * @param string|false|null
213
+     * @param string $content
213 214
      */
214 215
     private function getStatusCode(View $view, $content = null): int
215 216
     {
Please login to merge, or discard this patch.
Negotiation/FormatNegotiator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         $this->map[] = [$requestMatcher, $options];
42 42
     }
43 43
 
44
+    /**
45
+     * @param string $header
46
+     */
44 47
     public function getBest($header, array $priorities = [], $strict = false): ?AcceptHeader
45 48
     {
46 49
         $request = $this->getRequest();
Please login to merge, or discard this patch.