Skip to content

Commit 46812a9

Browse files
committed
[Form] [DoctrineBridge] updated changelogs after #18359
follows #18359.
1 parent 6a4743d commit 46812a9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ CHANGELOG
77
* added "{{ value }}" message placeholder to UniqueEntityValidator
88
* deprecated `MergeDoctrineCollectionListener::onBind` in favor of
99
`MergeDoctrineCollectionListener::onSubmit`
10+
* deprecated passing `ChoiceListFactoryInterface` as first argument of
11+
`DoctrineChoiceLoader`'s constructor
1012

1113
3.0.0
1214
-----

Form/ChoiceList/DoctrineChoiceLoader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@
2424
*/
2525
class DoctrineChoiceLoader implements ChoiceLoaderInterface
2626
{
27-
/**
28-
* @var ChoiceListFactoryInterface
29-
*/
30-
private $factory;
31-
3227
/**
3328
* @var ObjectManager
3429
*/
@@ -78,7 +73,6 @@ public function __construct($manager, $class, $idReader = null, $objectLoader =
7873

7974
// Provide a BC layer since $factory has changed
8075
// form first to last argument as of 3.1
81-
$this->factory = $manager;
8276
$manager = $class;
8377
$class = $idReader;
8478
$objectLoader = $factory;

0 commit comments

Comments
 (0)