1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00

Apply fixes from StyleCI (#1867)

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

View File

@@ -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
));
}