Completed
Pull Request — master (#2155)
by cedric
02:32
created
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.
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.
Negotiation/FormatNegotiator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
         $this->map[] = [$requestMatcher, $options];
40 40
     }
41 41
 
42
+    /**
43
+     * @param string $header
44
+     */
42 45
     public function getBest($header, array $priorities = []): ?AcceptHeader
43 46
     {
44 47
         $request = $this->getRequest();
Please login to merge, or discard this patch.
Routing/Loader/Reader/RestActionReader.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@  discard block
 block discarded – undo
82 82
         $this->routePrefix = $prefix;
83 83
     }
84 84
 
85
+    /**
86
+     * @return string
87
+     */
85 88
     public function getRoutePrefix(): ?string
86 89
     {
87 90
         return $this->routePrefix;
@@ -285,6 +288,9 @@  discard block
 block discarded – undo
285 288
         return sprintf("request.attributes.get('version') in ['%s']", implode("', '", $this->versions));
286 289
     }
287 290
 
291
+    /**
292
+     * @param null|string $conditionOne
293
+     */
288 294
     private function combineConditions(?string $conditionOne, ?string $conditionTwo): ?string
289 295
     {
290 296
         if (null === $conditionOne) {
Please login to merge, or discard this patch.
Routing/RestRouteCollection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         }
42 42
     }
43 43
 
44
+    /**
45
+     * @param string $format
46
+     */
44 47
     public function setDefaultFormat(?string $format): void
45 48
     {
46 49
         foreach (parent::all() as $route) {
Please login to merge, or discard this patch.