contributte / apitte

:wrench: An opinionated and enjoyable API framework based on Nette Framework. Supporting content negotiation, debugging, middlewares, attributes, annotations and loving openapi/swagger.

Home Page:https://contributte.org/packages/contributte/apitte/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Deprecated] Mapping AbstractEntity getIterator method return type

emololftw opened this issue · comments

PHP 8.1 deprecated stuff in src\Mapping\Request\AbstractEntity.php on line 20

fix:

from
public function getIterator(): iterable

into
public function getIterator(): \Traversable

PS: im newbie with git and stuff around, i hope its helpfull tip.
Have a nice day!