File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/property_access Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ 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 throws 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
53
53
:method: `PropertyAccess::createPropertyAccessor<Symfony\\ Component\\ PropertyAccess\\ PropertyAccess::createPropertyAccessor()> `
54
54
to true, e.g. ``PropertyAccess::createPropertyAccessor(true) ``.
55
55
@@ -329,7 +329,7 @@ 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 returns ``false ``, set the first argument
332
+ with an array for an invalid index would always return ``true ``. To make it return ``false ``, set the first argument
333
333
:method: `PropertyAccess::createPropertyAccessor<Symfony\\ Component\\ PropertyAccess\\ PropertyAccess::createPropertyAccessor()> `
334
334
to true, e.g. ``PropertyAccess::createPropertyAccessor(true) ``.
335
335
You can’t perform that action at this time.
0 commit comments