Skip to content

Commit 543a36a

Browse files
committed
refactor: rename variable name
1 parent 97cf0c0 commit 543a36a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Auth.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ public function getProvider(): UserModel
160160
*/
161161
public function __call(string $method, array $args)
162162
{
163-
$authenticate = $this->authenticate->factory($this->alias);
163+
$authenticator = $this->authenticate->factory($this->alias);
164164

165-
if (method_exists($authenticate, $method)) {
166-
return $authenticate->{$method}(...$args);
165+
if (method_exists($authenticator, $method)) {
166+
return $authenticator->{$method}(...$args);
167167
}
168168
}
169169
}

0 commit comments

Comments
 (0)