Changed deprecated method call
This commit is contained in:
1 parent
3b24c5d9f4
commit
c9ef6f1e72
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user