Skip to content

Commit 5133d6b

Browse files
committed
removing use statement for consistency with other places in this doc
1 parent f71b7bd commit 5133d6b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

create_framework/http_kernel_httpkernel_class.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,8 @@ attributes with route parameters.
6464
Our code is now much more concise and surprisingly more robust and more
6565
powerful than ever. For instance, use the built-in ``ExceptionListener`` to
6666
make your error management configurable::
67-
68-
use Symfony\Component\Debug\Exception\FlattenException;
6967
70-
$errorHandler = function (FlattenException $exception) {
68+
$errorHandler = function (Symfony\Component\Debug\Exception\FlattenException $exception) {
7169
$msg = 'Something went wrong! ('.$exception->getMessage().')';
7270

7371
return new Response($msg, $exception->getStatusCode());

0 commit comments

Comments
 (0)