Currently does this:
$array = [
'foo' => [
'bar' => [
'baz' => multiple_functions(function ($x) {
return $x;
}, function ($y) {
return $y;
})
]
]
];
should do this:
$array = [
'foo' => [
'bar' => [
'baz' => multiple_functions(function ($x) {
return $x;
}, function ($y) {
return $y;
})
]
]
];
Here's a more realistic example:
$array = [
'foo' => [
'bar' => [
'baz' => array_map(function ($x) {
return $x;
}, array_filter($some_list_of_things, function ($y) {
return $y;
}))
]
]
];
Currently does this:
should do this:
Here's a more realistic example: