Skip to content

Commit b3fbf09

Browse files
committed
Apply fixes from StyleCI
1 parent 223d5df commit b3fbf09

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/Illuminate/Http/Middleware/HandleCors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected function resolveOptionsForPreflight(Request $request): array
100100
$probe->setMethod($intendedMethod);
101101

102102
$route = $this->container['router']->getRoutes()->match($probe);
103-
} catch (NotFoundHttpException | MethodNotAllowedHttpException) {
103+
} catch (NotFoundHttpException|MethodNotAllowedHttpException) {
104104
return $globalOptions;
105105
}
106106

tests/Integration/Http/Middleware/HandleCorsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Illuminate\Http\Request;
1111
use Illuminate\Routing\Middleware\ThrottleRequests;
1212
use Illuminate\Routing\Router;
13-
use Illuminate\Support\Facades\Auth;
1413
use Illuminate\Support\Facades\RateLimiter;
1514
use Orchestra\Testbench\TestCase;
1615

0 commit comments

Comments
 (0)