Skip to content

Commit 00e71b8

Browse files
committed
Merge branch '8.0' into 8.1
* 8.0: Bad key for configuration of property_access
2 parents 9e8feeb + 68067f1 commit 00e71b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

object_mapper.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ exception. To avoid this, configure Symfony's PropertyAccess component in
303303
# config/packages/framework.yaml
304304
framework:
305305
property_access:
306-
exception_on_invalid_property_path: false
306+
throw_exception_on_invalid_property_path: false
307307
308308
.. code-block:: php
309309
@@ -315,7 +315,7 @@ exception. To avoid this, configure Symfony's PropertyAccess component in
315315
return function(ContainerConfigurator $container): void {
316316
$container->extension('framework', [
317317
'property_access' => [
318-
'exception_on_invalid_property_path' => false,
318+
'throw_exception_on_invalid_property_path' => false,
319319
],
320320
]);
321321
};

0 commit comments

Comments
 (0)