thrownew\RuntimeException('Middleware for route "'.$event->getRequest()->attributes->get('_route').'" returned an invalid response value. Must return null or an instance of Response.');
thrownew\RuntimeException(sprintf('Middleware for route "%s" returned an invalid response value. Must return null or an instance of Response.',$event->getRequest()->attributes->get('_route')));