Deprecated warning
mat-twg opened this issue · comments
Hello, can you tell me how to avoid this:
2022-05-31T21:19:57+00:00 [info] User Deprecated: Method "IteratorAggregate::getIterator()" might add "\Traversable" as a native return type declaration in the future. Do the same in implementation "JsonMachine\Items" now to avoid errors or add an explicit @return annotation to suppress this message.
Hi, sorry for the late reply. Is Symfony producing this deprecation? If so, you might be able to configure it to ignore JSON Machine. Let me know how it goes.
Fixed the missing annotation to make Symfony happy. Hope it woks ;)