Skip to content

Commit 7080644

Browse files
committed
minor #11679 Ordered use statements (OskarStark)
This PR was merged into the 4.3 branch. Discussion ---------- Ordered use statements <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- a122041 Ordered use statements
2 parents a6db95f + a122041 commit 7080644

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)