Skip to content

Commit

Permalink
Update docs for AddTypeToConstRector (#5803)
Browse files Browse the repository at this point in the history
  • Loading branch information
karpilin committed Apr 5, 2024
1 parent 4a77565 commit c860b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/target-repository/docs/rector_rules_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -5389,7 +5389,7 @@ Add override attribute to overridden methods

### AddTypeToConstRector

Add const to type
Add type to constants

- class: [`Rector\Php83\Rector\ClassConst\AddTypeToConstRector`](../rules/Php83/Rector/ClassConst/AddTypeToConstRector.php)

Expand Down
2 changes: 1 addition & 1 deletion rules/Php83/Rector/ClassConst/AddTypeToConstRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct(

public function getRuleDefinition(): RuleDefinition
{
return new RuleDefinition('Add const to type', [
return new RuleDefinition('Add type to constants', [
new CodeSample(
<<<'CODE_SAMPLE'
final class SomeClass
Expand Down

0 comments on commit c860b0c

Please sign in to comment.