File tree 1 file changed +4
-5
lines changed
components/property_access
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ method. This is done using the index notation that is used in PHP::
49
49
.. caution ::
50
50
51
51
As you can see, the method will return ``null `` if the index does not exists.
52
- To make it throw an exception in case of invalid index, set the first argument
52
+ To make it throw an exception in case of invalid index, set the first argument of
53
53
:method: `PropertyAccess::createPropertyAccessor<Symfony\\ Component\\ PropertyAccess\\ PropertyAccess::createPropertyAccessor()> `
54
- to true, e.g. ``PropertyAccess::createPropertyAccessor(true) ``.
54
+ to `` true `` , e.g. ``PropertyAccess::createPropertyAccessor(true) ``.
55
55
56
56
You can also use multi dimensional arrays::
57
57
@@ -329,9 +329,8 @@ instead::
329
329
.. caution ::
330
330
331
331
Calling :method: `PropertyAccess::createPropertyAccessor<Symfony\\ Component\\ PropertyAccess\\ PropertyAccess::createPropertyAccessor()> `
332
- with an array for an invalid index would always return ``true ``. To make it return ``false ``, set the first argument
333
- :method: `PropertyAccess::createPropertyAccessor<Symfony\\ Component\\ PropertyAccess\\ PropertyAccess::createPropertyAccessor()> `
334
- to true, e.g. ``PropertyAccess::createPropertyAccessor(true) ``.
332
+ with an array for an invalid index would always return ``true ``.
333
+ To make it return ``false ``, set its first argument to ``true `` e.g. ``PropertyAccess::createPropertyAccessor(true) ``.
335
334
336
335
The same is possible for :method: `PropertyAccessor::setValue<Symfony\\ Component\\ PropertyAccess\\ PropertyAccessor::setValue> `:
337
336
Call the
You can’t perform that action at this time.
0 commit comments