minor #31888 Fix DoctrineBridge upgrade 5.0 (yceruto)

This PR was merged into the 4.3 branch.

Discussion
----------

Fix DoctrineBridge upgrade 5.0

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Consistent with the current deprecation message:
a6b306d4f8/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php (L62-L64)

Commits
-------

9f244a50ec Fix DoctrineBridge upgrade 5.0
This commit is contained in:
Nicolas Grekas 2019-06-06 09:09:08 +02:00
commit 5777848dd3

View File

@ -75,7 +75,7 @@ DoctrineBridge
* Deprecated injecting `ClassMetadataFactory` in `DoctrineExtractor`, an instance of `EntityManagerInterface` should be
injected instead
* Passing an `IdReader` to the `DoctrineChoiceLoader` when the query cannot be optimized with single id field will throw an exception, pass `null` instead
* Not passing an `IdReader` to the `DoctrineChoiceLoader` when the query can be optimized with single id field will throw an exception
* Not passing an `IdReader` to the `DoctrineChoiceLoader` when the query can be optimized with single id field will not apply any optimization
DomCrawler