Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit fe13cb4

Browse files
authored
Merge pull request #870 from Adldap2/analysis-5ZKOVl
Apply fixes from StyleCI
2 parents 51c0f28 + 5eba844 commit fe13cb4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Auth/DatabaseUserProvider.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,23 @@ public function __call($method, $parameters)
6363
}
6464

6565
/**
66-
* @inheritDoc
66+
* {@inheritdoc}
6767
*/
6868
public function retrieveById($identifier)
6969
{
7070
return $this->eloquent->retrieveById($identifier);
7171
}
7272

7373
/**
74-
* @inheritDoc
74+
* {@inheritdoc}
7575
*/
7676
public function retrieveByToken($identifier, $token)
7777
{
7878
return $this->eloquent->retrieveByToken($identifier, $token);
7979
}
8080

8181
/**
82-
* @inheritDoc
82+
* {@inheritdoc}
8383
*/
8484
public function updateRememberToken(Authenticatable $user, $token)
8585
{
@@ -133,12 +133,12 @@ public function validateCredentials(Authenticatable $model, array $credentials)
133133
if (
134134
$model->exists
135135
&& $this->isFallingBack()
136-
&& !$this->user instanceof User
136+
&& ! $this->user instanceof User
137137
) {
138138
return $this->eloquent->validateCredentials($model, $credentials);
139139
}
140140

141-
if (!Resolver::authenticate($this->user, $credentials)) {
141+
if (! Resolver::authenticate($this->user, $credentials)) {
142142
return false;
143143
}
144144

@@ -147,7 +147,7 @@ public function validateCredentials(Authenticatable $model, array $credentials)
147147
// Here we will perform authorization on the LDAP user. If all
148148
// validation rules pass, we will allow the authentication
149149
// attempt. Otherwise, it is automatically rejected.
150-
if (!$this->passesValidation($this->user, $model)) {
150+
if (! $this->passesValidation($this->user, $model)) {
151151
Event::dispatch(new AuthenticationRejected($this->user, $model));
152152

153153
return false;

0 commit comments

Comments
 (0)