I found this bug when I was testing my Controller with PHPUnit. Controller use service and the service return SuccessResponse which extends Zend\Stdlib\Response.
* Dispatch a request
* @param RequestInterface $request
* @param null|ResponseInterface $response
* @return Response|mixed
public function dispatch(RequestInterface $request, ResponseInterface $response = null);
Indeed. Could you send a Pull Request with your patch?
PD: There is no need of import that interfaces (uses) since all interfaces are in the same namespace
fix for #5223
Problem with namespace
It appears @mwillbanks Merged this on the 19th; closing.
fix for zendframework/zf2#5223