I think its a strange choice to have this var $isSingleLine here and use it once when the elseif isn't in a var. seems a useless var for the purpose of commenting when a real comment would do just as well. that would be my preference but i wont hold a PR up for that