Skip to content

Commit 6a123d8

Browse files
committed
Tweaks
1 parent aa73335 commit 6a123d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

service_container/autowiring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ attribute like this::
584584

585585
.. note::
586586

587-
Some IDEs will show an error when using the ``#[Target]`` as in the previous example:
587+
Some IDEs will show an error when using ``#[Target]`` as in the previous example:
588588
*"Attribute cannot be applied to a property because it does not contain the 'Attribute::TARGET_PROPERTY' flag"*.
589589
The reason is that thanks to `PHP constructor promotion`_ this constructor
590590
argument is both a parameter and a class property. You can safely ignore this error message.

service_container/tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ directly via PHP attributes:
719719
720720
.. note::
721721

722-
Some IDEs will show an error when using the ``#[TaggedIterator]`` together
722+
Some IDEs will show an error when using ``#[TaggedIterator]`` together
723723
with the `PHP constructor promotion`_:
724724
*"Attribute cannot be applied to a property because it does not contain the 'Attribute::TARGET_PROPERTY' flag"*.
725725
The reason is that those constructor arguments are both parameters and class

0 commit comments

Comments
 (0)