Changed deprecated method call

This commit is contained in:
magdev committed 2019-06-01 12:30:15 +02:00
1 parent 3b24c5d9f4
commit c9ef6f1e72
1 file changed
+1 -1
+1 -1
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;
}