Completed
Pull Request — master (#2109)
by Lukas Kahwe
03:26
created
Negotiation/FormatNegotiator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         $this->map[] = [$requestMatcher, $options];
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $header
45
+     */
43 46
     public function getBest($header, array $priorities = [])
44 47
     {
45 48
         $request = $this->getRequest();
Please login to merge, or discard this patch.
Controller/ExceptionController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@
 block discarded – undo
85 85
      *
86 86
      * This code comes from Symfony and should be synchronized on a regular basis
87 87
      * see src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php
88
+     * @param null|string $startObLevel
88 89
      */
89 90
     private function getAndCleanOutputBuffering($startObLevel): string
90 91
     {
Please login to merge, or discard this patch.
EventListener/BodyListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
         }
113 113
     }
114 114
 
115
+    /**
116
+     * @param null|string $contentType
117
+     */
115 118
     private function isNotAnEmptyDeleteRequestWithNoSetContentType(string $method, $content, $contentType): bool
116 119
     {
117 120
         return false === ('DELETE' === $method && empty($content) && empty($contentType));
Please login to merge, or discard this patch.
Routing/Loader/Reader/RestActionReader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -300,6 +300,9 @@
 block discarded – undo
300 300
         return sprintf("request.attributes.get('version') in ['%s']", implode("', '", $this->versions));
301 301
     }
302 302
 
303
+    /**
304
+     * @param null|string $conditionOne
305
+     */
303 306
     private function combineConditions(?string $conditionOne, ?string $conditionTwo): ?string
304 307
     {
305 308
         if (null === $conditionOne) {
Please login to merge, or discard this patch.
View/ViewHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -288,6 +288,7 @@
 block discarded – undo
288 288
      * configuration if the form instance has errors.
289 289
      *
290 290
      * @param string|false|null
291
+     * @param string|false $content
291 292
      */
292 293
     private function getStatusCode(View $view, $content = null): int
293 294
     {
Please login to merge, or discard this patch.