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

Commit 1c0001e

Browse files
committed
Small tweak.
1 parent e30762f commit 1c0001e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/ImportsUsers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ protected function getAdldap($provider = null)
231231
{
232232
$ad = Adldap::getFacadeRoot();
233233

234-
$provider = (is_null($provider) ? $this->getDefaultConnectionName() : $provider);
234+
$provider = $provider ?: $this->getDefaultConnectionName();
235235

236236
return $ad->getManager()->get($provider);
237237
}

0 commit comments

Comments
 (0)