Completed
Pull Request — 2.x (#2107)
by Christian
03:06 queued 15s
created
EventListener/BodyListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     /**
134 134
      * Check if the Request is not a DELETE with no content and no Content-Type.
135 135
      *
136
-     * @param $method
136
+     * @param string $method
137 137
      * @param $content
138 138
      * @param $contentType
139 139
      *
Please login to merge, or discard this patch.
Controller/ExceptionController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -110,6 +110,9 @@
 block discarded – undo
110 110
         return $this->getStatusCodeFromThrowable($exception);
111 111
     }
112 112
 
113
+    /**
114
+     * @param integer $code
115
+     */
113 116
     private function createViewFromThrowable(\Throwable $exception, $code, array $templateData): View
114 117
     {
115 118
         $view = new View($exception, $code, $exception instanceof HttpExceptionInterface ? $exception->getHeaders() : []);
Please login to merge, or discard this patch.
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.