From e1072aaf6434918b9c358174d6bac6aff0428930 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Mar 2022 21:11:38 +0100 Subject: [PATCH] - (php) Update blumilksoftware/codestyle requirement from ^0.9.0 to ^0.9.0 || ^0.10.0 (#30) * - (php) Update blumilksoftware/codestyle requirement || ^0.10.0 Updates the requirements on [blumilksoftware/codestyle](https://github.com/blumilksoftware/codestyle) to permit the latest version. - [Release notes](https://github.com/blumilksoftware/codestyle/releases) - [Commits](https://github.com/blumilksoftware/codestyle/compare/v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: blumilksoftware/codestyle dependency-type: direct:development ... Signed-off-by: dependabot[bot] * fix: cs-fix Revert "fix: cs-fix" This reverts commit ae724514eb80e2973ec1d4950807805ca84f288d. fix: cs-fix Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aleksander --- composer.json | 2 +- src/Http/Middleware/RedirectIfAuthenticated.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 037fc976..0e094fef 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ }, "require-dev": { "blumilksoftware/blt": "dev-main", - "blumilksoftware/codestyle": "^0.9.0", + "blumilksoftware/codestyle": "^0.9.0 || ^0.10.0", "fakerphp/faker": "^1.9.1", "mockery/mockery": "^1.4.4", "nunomaduro/collision": "^6.1", diff --git a/src/Http/Middleware/RedirectIfAuthenticated.php b/src/Http/Middleware/RedirectIfAuthenticated.php index b588d7a5..d87ad380 100644 --- a/src/Http/Middleware/RedirectIfAuthenticated.php +++ b/src/Http/Middleware/RedirectIfAuthenticated.php @@ -15,8 +15,7 @@ class RedirectIfAuthenticated public function __construct( protected Redirector $redirector, protected AuthManager $authManager, - ) { - } + ) {} public function handle(Request $request, Closure $next, ...$guards): Response {