File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ could look something like this::
238238 // public/index.php
239239 use App\Kernel;
240240 use App\LegacyBridge;
241- use Symfony\Component\Debug \Debug;
241+ use Symfony\Component\ErrorHandler \Debug;
242242 use Symfony\Component\HttpFoundation\Request;
243243
244244 require dirname(__DIR__).'/vendor/autoload.php';
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ you can create your own named set or requirements to be reused consistently ever
2626 // src/Validator/Constraints/PasswordRequirements.php
2727 namespace App\Validator\Constraints;
2828
29- use Symfony\Component\Validator\Compound;
29+ use Symfony\Component\Validator\Constraints\ Compound;
3030 use Symfony\Component\Validator\Constraints as Assert;
3131
3232 /**
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ that all have constraints on their properties.
2828 // src/Entity/BookCollection.php
2929 namespace App\Entity;
3030
31- use Doctrine\Collections\ArrayCollection;
32- use Doctrine\Collections\Collection
31+ use Doctrine\Common\ Collections\ArrayCollection;
32+ use Doctrine\Common\ Collections\Collection
3333 use Doctrine\ORM\Mapping as ORM;
3434 use Symfony\Component\Validator\Constraints as Assert;
3535
Original file line number Diff line number Diff line change @@ -1867,7 +1867,7 @@ session shouldn't be used when matching a request:
18671867
18681868 // config/routes.php
18691869 use App\Controller\MainController;
1870- use Symfony\Bundle\FrameworkBundle \Routing\Loader\Configurator\RoutingConfigurator;
1870+ use Symfony\Component \Routing\Loader\Configurator\RoutingConfigurator;
18711871
18721872 return function (RoutingConfigurator $routes) {
18731873 $routes->add('homepage', '/')
Original file line number Diff line number Diff line change @@ -307,10 +307,10 @@ parts of your application and mocking it in your tests.
307307
308308Instead of translating a string at the time of creation, you can use a
309309"translatable object", which is an instance of the
310- :class: `Symfony\\ Component\\ Translation\\ Translatable ` class. This object stores
310+ :class: `Symfony\\ Component\\ Translation\\ TranslatableMessage ` class. This object stores
311311all the information needed to fully translate its contents when needed::
312312
313- use Symfony\Component\Translation\Translatable ;
313+ use Symfony\Component\Translation\TranslatableMessage ;
314314
315315 // the first argument is required and it's the original message
316316 $message = new Translatable('Symfony is great!');
You can’t perform that action at this time.
0 commit comments