Skip to content

Commit f356da0

Browse files
committed
fix: allow equals to 5.4 version for authenticated
1 parent ef568e5 commit f356da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/EventListener/LoginListenerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public function __construct($user)
429429
$this->setUser($user);
430430
}
431431

432-
if (version_compare(Kernel::VERSION, '5.4', '<') && method_exists($this, 'setAuthenticated')) {
432+
if (version_compare(Kernel::VERSION, '5.4', '<=') && method_exists($this, 'setAuthenticated')) {
433433
$this->setAuthenticated(true);
434434
}
435435
}

0 commit comments

Comments
 (0)