Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc12044

Browse files
author
Bernhard Schussek
committed
Added CHANGELOG entries
1 parent 70f0bf2 commit fc12044

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/Symfony/Bridge/Doctrine/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CHANGELOG
88
an instance of `EntityManagerInterface` should be injected instead
99
* added support for `simple_array` type
1010
* the `DoctrineTransactionMiddlewareFactory` class has been removed
11+
* changed guessing of DECIMAL to set the `input` option of `NumberType` to string
1112

1213
4.1.0
1314
-----

src/Symfony/Component/Form/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ CHANGELOG
4747
* dispatch `PostSubmitEvent` on `form.post_submit`
4848
* dispatch `PreSetDataEvent` on `form.pre_set_data`
4949
* dispatch `PostSetDataEvent` on `form.post_set_data`
50+
* added an `input` option to `NumberType`
5051

5152
4.2.0
5253
-----

src/Symfony/Component/Form/Extension/Core/Type/NumberType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function configureOptions(OptionsResolver $resolver)
6767
'html5' => false,
6868
]);
6969

70-
$resolver->setAllowedValues('rounding_mode', array(
70+
$resolver->setAllowedValues('rounding_mode', [
7171
NumberToLocalizedStringTransformer::ROUND_FLOOR,
7272
NumberToLocalizedStringTransformer::ROUND_DOWN,
7373
NumberToLocalizedStringTransformer::ROUND_HALF_DOWN,

0 commit comments

Comments
 (0)