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

Commit e31901d

Browse files
author
Robert Kummer
authored
Merge pull request #21 from ipunkt/analysis-z9kWJP
Apply fixes from StyleCI
2 parents f85c1d6 + 32c5cae commit e31901d

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)