Skip to content

Commit

Permalink
Fix: Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jun 17, 2024
1 parent af4ed7f commit d80bc71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Util/Scenario.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public static function create(
));
}

$fileContent = \file_get_contents($fileName);
$source = \file_get_contents($fileName);

if (!\is_string($fileContent)) {
if (!\is_string($source)) {
throw new \InvalidArgumentException(\sprintf(
'File "%s" could not be read.',
$fileName,
Expand All @@ -86,7 +86,7 @@ public static function create(
$phpVersion,
$description,
$fileName,
$fileContent,
$source,
...\array_map(static function (Classy\Construct $construct) use ($resolvedFileName): Classy\Construct {
return $construct->definedIn($resolvedFileName);
}, \array_values($constructs)),
Expand Down

0 comments on commit d80bc71

Please sign in to comment.