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.