h4kuna / fio

Read and send payment order for FIO bank, PSR-17 ready
54 stars 25 forks source link

dateStart is null #13

Closed racinmat closed 8 years ago

racinmat commented 9 years ago

When I call $this->fioRead->lastDownload(); it ends with fatal error. It is because in json returned from api, dateStart is null, and in method createFromFormat in vendor\h4kuna\fio\src\Utils\String.php:55 is raises fatal error just because of this null value.

h4kuna commented 9 years ago

Could you create pull request? Or I will fix it next week.

racinmat commented 9 years ago

pull request created

h4kuna commented 9 years ago

Do you know why tests are faild?

racinmat commented 9 years ago

in failed in php 5.3 due to object notation. Fixed in new commit.