Skip to content

Commit 5dfc8b2

Browse files
committed
Fix spelling typos
1 parent 4c52d4e commit 5dfc8b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/property_access/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ method. This is done using the index notation that is used in PHP::
4949
.. caution::
5050

5151
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
5353
:method:`PropertyAccess::createPropertyAccessor<Symfony\\Component\\PropertyAccess\\PropertyAccess::createPropertyAccessor()>`
5454
to true, e.g. ``PropertyAccess::createPropertyAccessor(true)``.
5555

@@ -329,7 +329,7 @@ instead::
329329
.. caution::
330330

331331
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
333333
:method:`PropertyAccess::createPropertyAccessor<Symfony\\Component\\PropertyAccess\\PropertyAccess::createPropertyAccessor()>`
334334
to true, e.g. ``PropertyAccess::createPropertyAccessor(true)``.
335335

0 commit comments

Comments
 (0)