Skip to content

Commit 696cbc7

Browse files
committed
formatting
1 parent 67fd7ad commit 696cbc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Illuminate/Auth/SessionGuard.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,9 @@ public function attemptWith(array $credentials = [], $remember = false, $callbac
389389

390390
$this->lastAttempted = $user = $this->provider->retrieveByCredentials($credentials);
391391

392-
// This method does the exact same thing as Attempt, but also executes callbacks after
393-
// the user is retrieved and validated. If one of the callbacks returns falsy, we
394-
// won't login this user. Instead, we will fail this authentication attempt.
392+
// This method does the exact same thing as attempt, but also executes callbacks after
393+
// the user is retrieved and validated. If one of the callbacks returns falsy we do
394+
// not login the user. Instead, we will fail the specific authentication attempt.
395395
if ($this->hasValidCredentials($user, $credentials) && $this->shouldLogin($callbacks, $user)) {
396396
$this->login($user, $remember);
397397

@@ -422,7 +422,7 @@ protected function hasValidCredentials($user, $credentials)
422422
}
423423

424424
/**
425-
* Checks if the user should login by executing the given callbacks.
425+
* Determine if the user should login by executing the given callbacks.
426426
*
427427
* @param array|callable|null $callbacks
428428
* @param \Illuminate\Contracts\Auth\Authenticatable $user

0 commit comments

Comments
 (0)