Optimizacion de monedas
This commit is contained in:
@ -43,6 +43,9 @@ class Money
|
||||
}
|
||||
public function getIPC(DateTimeInterface $start, DateTimeInterface $end): float
|
||||
{
|
||||
if ($start >= $end) {
|
||||
return 0;
|
||||
}
|
||||
try {
|
||||
return $this->getProvider('ipc')->getVar($start, $end);
|
||||
} catch (EmptyResponse) {
|
||||
|
Reference in New Issue
Block a user