File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -584,7 +584,7 @@ attribute like this::
584
584
585
585
.. note ::
586
586
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:
588
588
*"Attribute cannot be applied to a property because it does not contain the 'Attribute::TARGET_PROPERTY' flag" *.
589
589
The reason is that thanks to `PHP constructor promotion `_ this constructor
590
590
argument is both a parameter and a class property. You can safely ignore this error message.
Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ directly via PHP attributes:
719
719
720
720
.. note ::
721
721
722
- Some IDEs will show an error when using the ``#[TaggedIterator] `` together
722
+ Some IDEs will show an error when using ``#[TaggedIterator] `` together
723
723
with the `PHP constructor promotion `_:
724
724
*"Attribute cannot be applied to a property because it does not contain the 'Attribute::TARGET_PROPERTY' flag" *.
725
725
The reason is that those constructor arguments are both parameters and class
You can’t perform that action at this time.
0 commit comments