Skip to content

Commit 124fc78

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Fix htaccess sample to use index.php instead of app.php [Form] Fix form events phpdocs
2 parents d5f4cf2 + 4c2a490 commit 124fc78

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/Symfony/Component/Form/Event/PostSetDataEvent.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
/**
1717
* This event is dispatched at the end of the Form::setData() method.
1818
*
19-
* This event is mostly here for reading data after having pre-populated the form.
19+
* It can be used to modify a form depending on the populated data (adding or
20+
* removing fields dynamically).
2021
*/
2122
final class PostSetDataEvent extends FormEvent
2223
{

src/Symfony/Component/Form/Event/PreSetDataEvent.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
/**
1717
* This event is dispatched at the beginning of the Form::setData() method.
1818
*
19-
* It can be used to:
20-
* - Modify the data given during pre-population;
21-
* - Modify a form depending on the pre-populated data (adding or removing fields dynamically).
19+
* It can be used to modify the data given during pre-population.
2220
*/
2321
final class PreSetDataEvent extends FormEvent
2422
{

src/Symfony/Component/HttpFoundation/ServerBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getHeaders(): array
4949
* RewriteCond %{HTTP:Authorization} .+
5050
* RewriteRule ^ - [E=HTTP_AUTHORIZATION:%0]
5151
* RewriteCond %{REQUEST_FILENAME} !-f
52-
* RewriteRule ^(.*)$ app.php [QSA,L]
52+
* RewriteRule ^(.*)$ index.php [QSA,L]
5353
*/
5454

5555
$authorizationHeader = null;

0 commit comments

Comments
 (0)