Commit 41ec44e
committed
minor symfony#10215 Shorten ternary operator (royklutman)
This PR was merged into the 2.8 branch.
Discussion
----------
Shorten ternary operator
Small fix, shorten the ternary operator as it does exactly the same: https://github.com/twigphp/Twig/blob/2.x/doc/templates.rst#other-operators (see ternary)
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
-->
Commits
-------
a0c9d3c Shorten ternary operator1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
0 commit comments