Skip to content

Commit

Permalink
Remove superfluous file_get_contents() call
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 28, 2023
1 parent ba5e74a commit 610acbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Analyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private function analyseFile(string $file): array
assert($lines >= 0);

try {
$nodes = $parser->parse(file_get_contents($file));
$nodes = $parser->parse($source);

assert($nodes !== null);

Expand Down

0 comments on commit 610acbb

Please sign in to comment.