Commit 4d39f2ee authored by Fabien Potencier's avatar Fabien Potencier

fixed CS

parent 09da5f6b
......@@ -116,7 +116,7 @@ class Application extends \Pimple implements HttpKernelInterface, EventSubscribe
return;
} elseif (null !== $ret) {
throw new \RuntimeException('Middleware for route "'.$event->getRequest()->attributes->get('_route').'" returned an invalid response value. Must return null or an instance of Response.');
throw new \RuntimeException(sprintf('Middleware for route "%s" returned an invalid response value. Must return null or an instance of Response.', $event->getRequest()->attributes->get('_route')));
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment