CristalTeam / php-api-wrapper

:rainbow: Work with APIs like with Laravel Eloquent or Doctrine (no longer a dream)
MIT License
117 stars 32 forks source link

Remove API CRUD methods typehint #29

Closed TZK- closed 2 years ago

TZK- commented 2 years ago

API may not always return an object or array but only integers or strings for example.

If CRUD methods force return type, it may throw TypeError exception.