Skip to content

Commit

Permalink
bug #1360 Fix UseStatementGenerator usage in MakeFixtures.php (beesofts)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.x-dev branch.

Discussion
----------

Fix UseStatementGenerator usage in MakeFixtures.php

UseStatement is not used as it should

Commits
-------

b25fef4 Fix UseStatementGenerator usage in MakeFixtures.php
  • Loading branch information
weaverryan committed Sep 18, 2023
2 parents d5684e5 + b25fef4 commit 0890fd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Maker/MakeFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
);

$useStatements = new UseStatementGenerator([
Fixture::class => null,
ObjectManager::class => null,
Fixture::class,
ObjectManager::class,
]);

$generator->generateClass(
Expand Down

0 comments on commit 0890fd3

Please sign in to comment.