| @@ -110,6 +110,9 @@ | ||
| 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() : []); | 
| @@ -40,6 +40,9 @@ | ||
| 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(); | 
| @@ -300,6 +300,9 @@ | ||
| 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) { | 
| @@ -218,6 +218,7 @@ | ||
| 218 | 218 | * configuration if the form instance has errors. | 
| 219 | 219 | * | 
| 220 | 220 | * @param string|false|null | 
| 221 | + * @param string|false $content | |
| 221 | 222 | * | 
| 222 | 223 | * @return int HTTP status code | 
| 223 | 224 | */ |