Use rawContent for Special Options to avoid a protected options() method

This commit is contained in:
Philipp 2022-01-04 20:47:17 +01:00
parent 35a2fd45af
commit 6dbbd08179
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
4 changed files with 3 additions and 23 deletions

View file

@ -262,7 +262,7 @@ class Router
$this->parameters = [];
// Check if the HTTP method ist OPTIONS and return the special Options Module with the possible HTTP methods
// Check if the HTTP method is OPTIONS and return the special Options Module with the possible HTTP methods
if ($this->args->getMethod() === static::OPTIONS) {
$routeOptions = $dispatcher->getOptions($cmd);