Skip to content

Commit 54f2864

Browse files
committed
Minor typo fix, clarification of key vs secretKey
Signed-off-by: tswagger <[email protected]>
1 parent a4a1582 commit 54f2864

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Authentication/Traits/HasHMACTokens.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,18 @@ public function hmacTokens(): array
7575
}
7676

7777
/**
78-
* Given a secret Key, it will locate it within the system.
78+
* Given an HMAC Key, it will locate it within the system.
7979
*/
80-
public function getHmacToken(?string $secretKey): ?AccessToken
80+
public function getHmacToken(?string $key): ?AccessToken
8181
{
82-
if (empty($secretKey)) {
82+
if (empty($key)) {
8383
return null;
8484
}
8585

8686
/** @var UserIdentityModel $identityModel */
8787
$identityModel = model(UserIdentityModel::class);
8888

89-
return $identityModel->getHmacToken($this, $secretKey);
89+
return $identityModel->getHmacToken($this, $key);
9090
}
9191

9292
/**

0 commit comments

Comments
 (0)