DateTime::__set_state() argument changing?
| From: | Antonio Carlos Ribeiro | Date: | Fri, 09 Mar 2018 16:14:40 +0000 |
| Subject: | DateTime::__set_state() argument changing? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-101960@lists.php.net to get a copy of this message | ||
Due to a recent change in the Carbon PHP library, I'm now getting this
error, only when testing on PHP Nightly:
*Declaration of Carbon\Carbon::__set_state(array $state) should be
compatible with DateTime::__set_state($array)*
Is the argument type hinting being removed on PHP 7.3?
You can see them all passing on Travis, except for Nightly:
https://travis-ci.org/antonioribeiro/ia-collection
Antonio Carlos Ribeiro
acr@antoniocarlosribeiro.com
(+55) 21-9-8088-2233 (celular TIM)
(+55) 21-2556-3164 (fixo residencial)
skype: antoniocarlosribeiro
_______________
*I must say I find television very educational. The minute somebody turns
it on, I go to the library and read a good book.** (*
*Devo dizer que acho televisão muito educativo. Quando alguém a liga, vou à
biblioteca e leio um bom livro.) (Groucho Marx)*