Changed deprecated method call

This commit is contained in:
2019-06-01 12:30:15 +02:00
parent 3b24c5d9f4
commit c9ef6f1e72

View File

@@ -198,7 +198,7 @@ class CurriculumVitae extends BaseCollection
$formatter = $this->formatter;
array_walk($result, function(int &$seconds, string $key) use ($formatter) {
$seconds = $formatter->formatExperience($seconds);
$seconds = $formatter->formatYearMonthDuration($seconds);
});
return $result;
}