scheb / yahoo-finance-api

PHP client for Yahoo Finance API 📈
MIT License
280 stars 56 forks source link

Use of DateTimeInterface instead of DateTime #29

Closed Spomky closed 3 years ago

Spomky commented 3 years ago

With this PR, the DateTimeInterface is used instead of DateTime as return type or argument. This will allow to use DateTimeImmutable or the DateTime objects from PHP Safe library.

scheb commented 3 years ago

Seems legit, sure. Thanks!