Skip to content

Commit

Permalink
minor #6980 Use strict comparison (greg0ire)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.7 branch.

Discussion
----------

Use strict comparison

Commits
-------

2c1986f Use strict comparison
  • Loading branch information
xabbuh committed Oct 14, 2016
2 parents 79b59a0 + 2c1986f commit f19a8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/bundles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Before diving into the specifics of the most common edge cases, the general
recommendation is to **not rely on the Symfony Kernel version** to decide which
code to use::

if (Kernel::VERSION_ID <= 20800) {
if (Kernel::VERSION_ID < 20800) {
// code for Symfony 2.x
} else {
// code for Symfony 3.x
Expand Down

0 comments on commit f19a8f1

Please sign in to comment.