1
0
mirror of https://github.com/flarum/core.git synced 2025-06-23 11:15:53 +02:00

Apply fixes from StyleCI ()

[ci skip] [skip ci]
This commit is contained in:
Franz Liedke
2019-09-04 01:44:59 +02:00
committed by GitHub
parent dcf88df0c7
commit 1aef3162be

@ -37,7 +37,9 @@ class JsonApiFormatter implements HttpFormatter
$document->setErrors([$data]);
} else {
$document->setErrors(array_map(
function ($row) use ($data) { return array_merge($data, $row); },
function ($row) use ($data) {
return array_merge($data, $row);
},
$details
));
}