Skip to content

Commit a4779a0

Browse files
Merge branch '4.4' into 5.0
* 4.4: [DependencyInjection][CheckTypeDeclarationsPass] Handle unresolved parameters pointing to environment variables switch the context when validating nested forms remove unused param from validator service config Fix typo [HttpKernel] Fix regression where Store does not return response body correctly rework form validator tests Update AbstractController.php
2 parents 0d6b497 + 7da157f commit a4779a0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Controller/AbstractController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ protected function file($file, string $fileName = null, string $disposition = Re
197197
*
198198
* @throws \LogicException
199199
*/
200-
protected function addFlash(string $type, string $message): void
200+
protected function addFlash(string $type, $message): void
201201
{
202202
if (!$this->container->has('session')) {
203203
throw new \LogicException('You can not use the addFlash method if sessions are disabled. Enable them in "config/packages/framework.yaml".');

Resources/config/validator.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd">
66

77
<parameters>
8-
<parameter key="validator.mapping.cache.prefix" />
98
<parameter key="validator.mapping.cache.file">%kernel.cache_dir%/validation.php</parameter>
109
</parameters>
1110

0 commit comments

Comments
 (0)