Provider null date
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user