@@ -223,8 +223,8 @@ If you are also using the :doc:`HttpFoundation </components/http_foundation>`
223223component in your project (for instance, in a Symfony application), the ``PathPackage ``
224224class can take into account the context of the current request::
225225
226- use Symfony\Component\Asset\PathPackage;
227226 use Symfony\Component\Asset\Context\RequestStackContext;
227+ use Symfony\Component\Asset\PathPackage;
228228 // ...
229229
230230 $pathPackage = new PathPackage(
@@ -313,8 +313,8 @@ account the context of the current request. In this case, only the request
313313scheme is considered, in order to select the appropriate base URL (HTTPs or
314314protocol-relative URLs for HTTPs requests, any base URL for HTTP requests)::
315315
316- use Symfony\Component\Asset\UrlPackage;
317316 use Symfony\Component\Asset\Context\RequestStackContext;
317+ use Symfony\Component\Asset\UrlPackage;
318318 // ...
319319
320320 $urlPackage = new UrlPackage(
@@ -339,9 +339,9 @@ In the following example, all packages use the same versioning strategy, but
339339they all have different base paths::
340340
341341 use Symfony\Component\Asset\Package;
342+ use Symfony\Component\Asset\Packages;
342343 use Symfony\Component\Asset\PathPackage;
343344 use Symfony\Component\Asset\UrlPackage;
344- use Symfony\Component\Asset\Packages;
345345 // ...
346346
347347 $versionStrategy = new StaticVersionStrategy('v1');
0 commit comments