Skip to content

Commit

Permalink
Update src/FixtureLoader.php
Browse files Browse the repository at this point in the history
It can´t be readonly, because you use a setter and you will set the helper on other classes
  • Loading branch information
rvalley98 authored Jun 13, 2024
1 parent 2bb5a36 commit 6f8bd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FixtureLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class FixtureLoader
*/
public function __construct(
\Traversable $fixtures,
private readonly FixtureHelper $helper,
private FixtureHelper $helper,
)
{
$this->fixtures = iterator_to_array($fixtures);
Expand Down

0 comments on commit 6f8bd23

Please sign in to comment.