Skip to content

Commit

Permalink
[Php74][TypeDeclaration] Document for INLINE_PUBLIC constant set to f…
Browse files Browse the repository at this point in the history
…alse by default allow change protected on final with extends as far as property and/or its usage only in current class (#2198)
  • Loading branch information
samsonasik committed Apr 29, 2022
1 parent 3e685a6 commit dbc2638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rules/Php74/Rector/Property/TypedPropertyRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ final class TypedPropertyRector extends AbstractRector implements AllowEmptyConf
* Default to false, which only apply changes:
*
* – private modifier property
* - protected modifier property on final class without extends
* - protected modifier property on final class without extends or has extends but property and/or its usage only in current class
*
* Set to true will allow change other modifiers as well as far as not forbidden, eg: callable type, null type, etc.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class TypedPropertyFromAssignsRector extends AbstractRector implements All
* Default to false, which only apply changes:
*
* – private modifier property
* - protected modifier property on final class without extends
* - protected modifier property on final class without extends or has extends but property and/or its usage only in current class
*
* Set to true will allow change other modifiers as well as far as not forbidden, eg: callable type, null type, etc.
*/
Expand Down

0 comments on commit dbc2638

Please sign in to comment.