Skip to content

Commit d9ab070

Browse files
committed
Codeing standards cleanup
1 parent 24db9e6 commit d9ab070

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/Authentication/Authenticators/HMAC_SHA256.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ public function getHMACAuthTokens(?string $fullToken = null): ?array
267267
}
268268

269269
return null;
270-
271270
}
272271

273272
/**

src/Filters/HmacAuth.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class HmacAuth implements FilterInterface
2121
*/
2222
public function before(RequestInterface $request, $arguments = null)
2323
{
24-
2524
$authenticator = auth('hmac')->getAuthenticator();
2625

2726
helper('setting');
@@ -54,14 +53,12 @@ public function before(RequestInterface $request, $arguments = null)
5453
}
5554

5655
return $request;
57-
5856
}
5957

6058
/**
6159
* {@inheritDoc}
6260
*/
6361
public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void
6462
{
65-
6663
}
6764
}

src/Models/UserIdentityModel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ public function generateHmacToken(User $user, string $name, array $scopes = ['*'
255255

256256
$this->checkQueryReturn($return);
257257

258-
/** @var AccessToken $token */
259258
return $this
260259
->asObject(AccessToken::class)
261260
->find($this->getInsertID());

0 commit comments

Comments
 (0)