RendererGenerators\PHP: fixed bug occuring with nested conditionals