Skip to content

Commit 70d477e

Browse files
committed
minor #11737 Use ordered use statements for php code examples (OskarStark)
This PR was merged into the 4.3 branch. Discussion ---------- Use ordered use statements for php code examples <!-- 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 ------- 5e9de27 Use ordered use statements for php code examples
2 parents 4b9e4b3 + 5e9de27 commit 70d477e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/http_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ so that the :doc:`HttpKernel component </components/http_kernel>` needs to be
555555
installed in your application::
556556

557557
use Symfony\Component\HttpClient\CachingHttpClient;
558-
use Symfony\Component\HttpKernel\HttpCache\Store;
559558
use Symfony\Component\HttpClient\HttpClient;
559+
use Symfony\Component\HttpKernel\HttpCache\Store;
560560

561561
$store = new Store('/path/to/cache/storage/');
562562
$client = HttpClient::create();

messenger/message-recorder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ using the ``DispatchAfterCurrentBusMiddleware`` and adding a
5252
use App\Messenger\Event\UserRegistered;
5353
use Doctrine\ORM\EntityManagerInterface;
5454
use Symfony\Component\Messenger\Envelope;
55-
use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp;
5655
use Symfony\Component\Messenger\MessageBusInterface;
56+
use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp;
5757

5858
class RegisterUserHandler
5959
{

0 commit comments

Comments
 (0)