You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPStan throws the following error: {namespace}Vendor\EightshiftLibs\Rest\CallableRouteInterface::routeCallback() has parameter $request with generic class WP_REST_Request but does not specify its types: T () [phpstan] phpstan [32, 1]
The text was updated successfully, but these errors were encountered:
This happens directly in CallableRouteInterface or an implementing class? Can you share the function signature for the routeCallback method in your implementing class?
Both places, but ran into this when generating the rest-route-load-more class via CLI so you can check by generating your own with wp boilerplate create rest-route-load-more
eightshift-libs/src/Rest/CallableRouteInterface.php
Line 29 in ed2ab29
PHPStan throws the following error:
{namespace}Vendor\EightshiftLibs\Rest\CallableRouteInterface::routeCallback() has parameter $request with generic class WP_REST_Request but does not specify its types: T () [phpstan] phpstan [32, 1]
The text was updated successfully, but these errors were encountered: