Skip to content

Commit

Permalink
Fix RectorParser::parseString() parameter name (#5467)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jan 14, 2024
1 parent deb4dae commit e17f452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PhpParser/Parser/RectorParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public function parseFile(string $filePath): array
/**
* @return Stmt[]
*/
public function parseString(string $filePath): array
public function parseString(string $fileContent): array
{
return $this->parser->parseString($filePath);
return $this->parser->parseString($fileContent);
}

public function parseFileContentToStmtsAndTokens(string $fileContent): StmtsAndTokens
Expand Down

0 comments on commit e17f452

Please sign in to comment.