Skip to content

Commit c3d8020

Browse files
committed
refactor: rename variable name
1 parent 77d3140 commit c3d8020

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Security/Security.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ private function getPostedToken(RequestInterface $request): ?string
343343

344344
// Does the token exist in POST, HEADER or optionally php:://input - json data.
345345

346-
if ($tokenName = $request->getPost($this->tokenName)) {
347-
return $tokenName;
346+
if ($tokenValue = $request->getPost($this->tokenName)) {
347+
return $tokenValue;
348348
}
349349

350350
if ($request->hasHeader($this->headerName) && ! empty($request->header($this->headerName)->getValue())) {

0 commit comments

Comments
 (0)