mirror of
https://github.com/flextype/flextype.git
synced 2025-08-10 07:06:45 +02:00
refactor(cors): remove unused parameter $args
This commit is contained in:
@@ -44,7 +44,7 @@ class Cors
|
||||
return;
|
||||
}
|
||||
|
||||
$this->app->options('/{routes:.+}', function ($request, $response, $args) {
|
||||
$this->app->options('/{routes:.+}', function ($request, $response) {
|
||||
return $response;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user