Karaka-Management / phpOMS

PHP Framework
Other
2 stars 0 forks source link

The module `get()` function falsly uses `object` as return #300

Open spl1nes opened 1 year ago

spl1nes commented 1 year ago

This is a workaround to fix static inspection. There is no inline docblock to type hint the correct function return since it can be so many.

However, with object the code quality check tools at least don't complain in the different modules where we call ->get(...)