I did fix this though, I the parameters passed to the before method from (RequestInterface $request) to (RequestInterface $request, $arguments = null)
A changed the parameters passed to the after method to (RequestInterface $request, ResponseInterface $response, $arguments = null)