Skip to content

Commit 8f5dbd8

Browse files
committed
[CS] Replace easy occurences of ?: with ??
1 parent 19a7caa commit 8f5dbd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authentication/Provider/SimpleAuthenticationProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(SimpleAuthenticatorInterface $simpleAuthenticator, U
3838
$this->simpleAuthenticator = $simpleAuthenticator;
3939
$this->userProvider = $userProvider;
4040
$this->providerKey = $providerKey;
41-
$this->userChecker = $userChecker ?: new UserChecker();
41+
$this->userChecker = $userChecker ?? new UserChecker();
4242
}
4343

4444
public function authenticate(TokenInterface $token)

0 commit comments

Comments
 (0)