Skip to content

Commit

Permalink
Add missing returns
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Jul 24, 2023
1 parent 191f603 commit 13bf7ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Auth/CreatesUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ protected function getCurrentAuthGuard(): ?string
return $guard;
}
}

return null;
}

/**
Expand Down
2 changes: 2 additions & 0 deletions src/Auth/UserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ protected function fetchLdapUserByCredentials(array $credentials): ?Model
return call_user_func($this->userResolver, $credentials);
} catch (Exception $e) {
$this->handleException($e);

return null;
}
}

Expand Down

0 comments on commit 13bf7ce

Please sign in to comment.