File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -471,9 +471,9 @@ for next requests. The implementation leverages the
471471so that the :doc: `HttpKernel component </components/http_kernel >` needs to be
472472installed in your application::
473473
474- use Symfony\Component\HttpClient\HttpClient;
475474 use Symfony\Component\HttpClient\CachingHttpClient;
476475 use Symfony\Component\HttpKernel\HttpCache\Store;
476+ use Symfony\Component\HttpClient\HttpClient;
477477
478478 $store = new Store('/path/to/cache/storage/');
479479 $client = HttpClient::create();
Original file line number Diff line number Diff line change @@ -427,11 +427,10 @@ some basic validation tasks::
427427 // src/Controller/ProductController.php
428428 namespace App\Controller;
429429
430- // ...
430+ use App\Entity\Product;
431431 use Symfony\Component\HttpFoundation\Response;
432432 use Symfony\Component\Validator\Validator\ValidatorInterface;
433-
434- use App\Entity\Product;
433+ // ...
435434
436435 class ProductController extends AbstractController
437436 {
You can’t perform that action at this time.
0 commit comments