Here is a Before-Image:

After saving (which triggers the formatting) it becomes changed completely.

Here's the after:

(Ignore the spaces between $record . $record, those formatting changes are intentional)

I didn't find any settings that would do this kind of formatting and it only does this when working with multi-line return functions.

When I move the parameters of array_map into one single line, the formatter works as intended.

    Hello!

    Thank you for reaching out.

    This looks like a bug. It will be fixed!

    Thanks again for reporting. The fix will be available in the next pre-release.

    Thank you!

      Write a Reply...