More code for #2543

This commit is contained in:
James Cole
2019-09-06 06:30:01 +02:00
parent 07dd44af2d
commit 77084ba72d
2 changed files with 6 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ class BillTransformer extends AbstractTransformer
$currentStart = clone $nextExpectedMatch;
}
$simple = $set->map(
function (Carbon $date) {
static function (Carbon $date) {
return $date->format('Y-m-d');
}
);