@cordoval the rule in Symfony is to use strict comparison unless you really need the behavior of ``==``.

but in this case checking for a boolean property, it should indeed be ``if ($this->xmlAddedAsContent)``