Skip to content

Commit e84efc4

Browse files
committed
[HttpFoundation] Mark Request::get() internal
1 parent e0a08b5 commit e84efc4

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

UPGRADE-5.4.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ HttpKernel
2323

2424
* Deprecate `AbstractTestSessionListener::getSession` inject a session in the request instead
2525

26+
HttpFoundation
27+
--------------
28+
29+
* Mark `Request::get()` internal, use explicit input sources instead
30+
2631
Messenger
2732
---------
2833

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ public static function getHttpMethodParameterOverride()
703703
* @param mixed $default The default value if the parameter key does not exist
704704
*
705705
* @return mixed
706+
*
707+
* @internal since Symfony 5.4, use explicit input sources instead
706708
*/
707709
public function get(string $key, $default = null)
708710
{

0 commit comments

Comments
 (0)