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

Apply fixes from StyleCI #870

Merged
merged 1 commit into from
May 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/Auth/DatabaseUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,23 @@ public function __call($method, $parameters)
}

/**
* @inheritDoc
* {@inheritdoc}
*/
public function retrieveById($identifier)
{
return $this->eloquent->retrieveById($identifier);
}

/**
* @inheritDoc
* {@inheritdoc}
*/
public function retrieveByToken($identifier, $token)
{
return $this->eloquent->retrieveByToken($identifier, $token);
}

/**
* @inheritDoc
* {@inheritdoc}
*/
public function updateRememberToken(Authenticatable $user, $token)
{
Expand Down Expand Up @@ -133,12 +133,12 @@ public function validateCredentials(Authenticatable $model, array $credentials)
if (
$model->exists
&& $this->isFallingBack()
&& !$this->user instanceof User
&& ! $this->user instanceof User
) {
return $this->eloquent->validateCredentials($model, $credentials);
}

if (!Resolver::authenticate($this->user, $credentials)) {
if (! Resolver::authenticate($this->user, $credentials)) {
return false;
}

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

return false;
Expand Down