Skip to content

Commit 0aefe4b

Browse files
chrysanthosgithub-actions[bot]
authored andcommitted
formatting
1 parent 8ec5e84 commit 0aefe4b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/otp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
*/
2525
'paths' => [
2626
'*',
27-
]
27+
],
2828
];

src/Middleware/RedirectToOtpPage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function handle(Request $request, Closure $next)
3434

3535
$otpService = app(OtpService::class);
3636

37-
if (!$otpService->shouldCoverRoutePath($request->path())) {
37+
if (! $otpService->shouldCoverRoutePath($request->path())) {
3838
return $next($request);
3939
}
4040

src/Support/OtpService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function shouldCoverRoutePath(string $path): bool
5858
{
5959
$paths = Arr::wrap(config('otp.paths'));
6060

61-
if (!is_array($paths) || ($paths[0] ?? null) === '*') {
61+
if (! is_array($paths) || ($paths[0] ?? null) === '*') {
6262
return true;
6363
}
6464

0 commit comments

Comments
 (0)