Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 6c176dc

Browse files
committed
Unify null comparisons
1 parent 40b6eda commit 6c176dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Http/RememberMe/AbstractRememberMeServices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ protected function isRememberMeRequested(Request $request)
303303

304304
$parameter = $request->get($this->options['remember_me_parameter'], null, true);
305305

306-
if ($parameter === null && null !== $this->logger) {
306+
if (null === $parameter && null !== $this->logger) {
307307
$this->logger->debug(sprintf('Did not send remember-me cookie (remember-me parameter "%s" was not sent).', $this->options['remember_me_parameter']));
308308
}
309309

0 commit comments

Comments
 (0)