Skip to content

Commit

Permalink
[Doc] Fix ListToArrayDestructRector Rule Definition description (#107)
Browse files Browse the repository at this point in the history
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
  • Loading branch information
samsonasik and kaizen-ci committed May 26, 2021
1 parent 6782f9d commit 21dc1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/Php71/Rector/List_/ListToArrayDestructRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class ListToArrayDestructRector extends AbstractRector
{
public function getRuleDefinition(): RuleDefinition
{
return new RuleDefinition('Remove & from new &X', [
return new RuleDefinition('Change list() to array destruct', [
new CodeSample(
<<<'CODE_SAMPLE'
class SomeClass
Expand Down

0 comments on commit 21dc1db

Please sign in to comment.