Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 32c5cae

Browse files
Robert KummerStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent f85c1d6 commit 32c5cae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Middleware/TokenValidation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TokenValidation
1212
* @var array
1313
*/
1414
protected $except = [
15-
'/api/health'
15+
'/api/health',
1616
];
1717

1818
/**
@@ -24,7 +24,7 @@ class TokenValidation
2424
*/
2525
public function handle($request, Closure $next)
2626
{
27-
if (!$this->inExceptArray($request)
27+
if (! $this->inExceptArray($request)
2828
&& $this->hasSecretToken()
2929
&& $request->header($this->secretTokenName()) !== $this->secretToken()
3030
) {

0 commit comments

Comments
 (0)