Skip to content

Commit 2c1986f

Browse files
author
Grégoire Paris
committed
Use strict comparison
The new code should be used as soon as 2.8.0 is available
1 parent b47441b commit 2c1986f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/bundles.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Before diving into the specifics of the most common edge cases, the general
173173
recommendation is to **not rely on the Symfony Kernel version** to decide which
174174
code to use::
175175

176-
if (Kernel::VERSION_ID <= 20800) {
176+
if (Kernel::VERSION_ID < 20800) {
177177
// code for Symfony 2.x
178178
} else {
179179
// code for Symfony 3.x

0 commit comments

Comments
 (0)