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 {