Skip to content

Commit

Permalink
fix array name
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Nov 5, 2021
1 parent 54a25e0 commit 2906122
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules/CodingStyle/Naming/NameRenamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ public function __construct(
}

/**
* @param NameAndParent[] $usedNameNodes
* @param NameAndParent[] $namesAndParent
*/
public function renameNameNode(array $usedNameNodes, string $lastName): void
public function renameNameNode(array $namesAndParent, string $lastName): void
{
foreach ($usedNameNodes as $usedNameNode) {
foreach ($namesAndParent as $usedNameNode) {
$parentNode = $usedNameNode->getParentNode();
$usedName = $usedNameNode->getNameNode();

Expand Down

0 comments on commit 2906122

Please sign in to comment.