From 48c59a28b5978c24f3e44db80ba9c0b000fb2f85 Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 3 Aug 2020 07:53:21 +0300 Subject: [PATCH] refactor(cors): remove unused parameter $args --- src/flextype/app/Foundation/Cors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/app/Foundation/Cors.php b/src/flextype/app/Foundation/Cors.php index b2a49bb1..eb57632d 100644 --- a/src/flextype/app/Foundation/Cors.php +++ b/src/flextype/app/Foundation/Cors.php @@ -44,7 +44,7 @@ class Cors return; } - $this->app->options('/{routes:.+}', function ($request, $response, $args) { + $this->app->options('/{routes:.+}', function ($request, $response) { return $response; });