When folding a section it does not include the closing } so a fold ends up being 2 lines instead of 1  PHP joins it into one line (showing the parent closing on the unindented next line): 