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

Commit 9c4e0f0

Browse files
committed
Small tweak.
1 parent 9cedb7b commit 9c4e0f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Listeners/BindsLdapUserModel.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ protected function isUsingAdldapProvider() : bool
5252
*/
5353
protected function canBind(Authenticatable $user) : bool
5454
{
55-
$traits = class_uses_recursive($user);
56-
57-
return array_key_exists(HasLdapUser::class, $traits);
55+
return array_key_exists(HasLdapUser::class, class_uses_recursive($user));
5856
}
5957
}

0 commit comments

Comments
 (0)