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

Commit 7991490

Browse files
committed
Normalize conditionals
1 parent 980665f commit 7991490

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AdldapAuthServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected function makeUserProvider(Hasher $hasher, array $config)
9090
// otherwise we will try to use the providers config array.
9191
$model = Config::get('ldap_auth.model') ?? array_get($config, 'model');
9292

93-
if (!$model) {
93+
if (! $model) {
9494
throw new RuntimeException(
9595
"No model is configured. You must configure a model to use with the {$provider}."
9696
);

src/Middleware/WindowsAuthenticate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(Guard $auth)
4545
*/
4646
public function handle(Request $request, Closure $next)
4747
{
48-
if (!$this->auth->check()) {
48+
if (! $this->auth->check()) {
4949
// Retrieve the users account name from the request.
5050
if ($account = $this->account($request)) {
5151
// Retrieve the users username from their account name.

0 commit comments

Comments
 (0)