From 5e9de272ec6e9339e67736dca1725d2636fcf2e2 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 13 Jun 2019 09:58:54 +0200 Subject: [PATCH] Use ordered use statements for php code examples --- components/http_client.rst | 2 +- messenger/message-recorder.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/http_client.rst b/components/http_client.rst index 883de230ae3..ad4263eee7e 100644 --- a/components/http_client.rst +++ b/components/http_client.rst @@ -555,8 +555,8 @@ so that the :doc:`HttpKernel component ` needs to be installed in your application:: use Symfony\Component\HttpClient\CachingHttpClient; - use Symfony\Component\HttpKernel\HttpCache\Store; use Symfony\Component\HttpClient\HttpClient; + use Symfony\Component\HttpKernel\HttpCache\Store; $store = new Store('/path/to/cache/storage/'); $client = HttpClient::create(); diff --git a/messenger/message-recorder.rst b/messenger/message-recorder.rst index 8ac3039b503..acdff765cb2 100644 --- a/messenger/message-recorder.rst +++ b/messenger/message-recorder.rst @@ -52,8 +52,8 @@ using the ``DispatchAfterCurrentBusMiddleware`` and adding a use App\Messenger\Event\UserRegistered; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\Messenger\Envelope; - use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp; use Symfony\Component\Messenger\MessageBusInterface; + use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp; class RegisterUserHandler {