Provider null date

This commit is contained in:
Juan Pablo Vial
2025-05-05 18:12:58 -04:00
parent 8be085222a
commit b9adb9108b

View File

@ -8,9 +8,9 @@ interface Provider
{ {
/** /**
* @param string $money_symbol * @param string $money_symbol
* @param DateTimeInterface $dateTime * @param ?DateTimeInterface $dateTime = null
* @return float * @return float
* @throws EmptyResponse * @throws EmptyResponse
*/ */
public function get(string $money_symbol, DateTimeInterface $dateTime): float; public function get(string $money_symbol, ?DateTimeInterface $dateTime = null): float;
} }