Skip to content

Commit cb84cd7

Browse files
committed
Unify null comparisons
1 parent 690573b commit cb84cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)