Skip to content

Commit a122041

Browse files
committed
Ordered use statements
1 parent 1f3870c commit a122041

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

components/http_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,9 @@ for next requests. The implementation leverages the
471471
so that the :doc:`HttpKernel component </components/http_kernel>` needs to be
472472
installed 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();

doctrine.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)