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

Skip to content

Commit bb1bf04

Browse files
committed
wording
1 parent 4f56e6d commit bb1bf04

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

UPGRADE-6.3.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ FrameworkBundle
5757

5858
* Deprecate the `notifier.logger_notification_listener` service, use the `notifier.notification_logger_listener` service instead
5959

60+
HttpFoundation
61+
--------------
62+
63+
* Deprecate conversion of invalid values in `ParameterBag::getInt()` and `ParameterBag::getBoolean()`, an exception will be thrown in 7.0
64+
6065
HttpKernel
6166
----------
6267

@@ -97,9 +102,3 @@ Serializer
97102
----------
98103

99104
* Deprecate `MissingConstructorArgumentsException` in favor of `MissingConstructorArgumentException`
100-
101-
HttpFoundation
102-
--------------
103-
104-
* [BC BREAK] `ParameterBag::getInt()` throws an exception if the value is not an integer or numeric string
105-
* [BC BREAK] `ParameterBag::getBoolean()` throws an exception if the value is not a Boolean or a string representing a Boolean

src/Symfony/Component/HttpFoundation/CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ CHANGELOG
44
6.3
55
---
66

7-
* Deprecate conversion of invalid values in `ParameterBag::getInt()` and `ParameterBag::getBoolean()`.
8-
* Calling `ParameterBag::getDigit()`, `getAlnum()`, `getAlpha()` on an `array` throw a `UnexpectedValueException` instead of a `TypeError`
9-
* Add `ParameterBag::getString()` to convert a parameter into string and throws an exception if the value is invalid
7+
* Deprecate conversion of invalid values in `ParameterBag::getInt()` and `ParameterBag::getBoolean()`
8+
* Calling `ParameterBag::getDigit()`, `getAlnum()`, `getAlpha()` on an `array` throws a `UnexpectedValueException` instead of a `TypeError`
9+
* Add `ParameterBag::getString()` to convert a parameter into string and throw an exception if the value is invalid
1010
* Add `ParameterBag::getEnum()`
1111
* Create migration for session table when pdo handler is used
1212
* Add support for Relay PHP extension for Redis

src/Symfony/Component/HttpFoundation/ParameterBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function getEnum(string $key, string $class, \BackedEnum $default = null)
202202
/**
203203
* Filter key.
204204
*
205-
* @param int $filter FILTER_* constant
205+
* @param int $filter FILTER_* constant
206206
* @param int|array{flags?: int, options?: array, error_on_failure?: bool} $options Flags from FILTER_* constants
207207
*
208208
* @see https://php.net/filter-var

0 commit comments

Comments
 (0)