Skip to content

Commit 5805e9d

Browse files
authored
Merge pull request #1 from kshtompel/kshtompel-patch-1
Code standards fix
2 parents cf3c1ee + 2054c0e commit 5805e9d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/Command/LoadDataFixturesDoctrineCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand;
88
use Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\PurgerFactoryCompilerPass;
9-
use Doctrine\Bundle\FixturesBundle\Loader\FixturesProviderInterface;
9+
use Doctrine\Bundle\FixturesBundle\Loader\FixturesProvider;
1010
use Doctrine\Bundle\FixturesBundle\Purger\ORMPurgerFactory;
1111
use Doctrine\Bundle\FixturesBundle\Purger\PurgerFactory;
1212
use Doctrine\Common\DataFixtures\Executor\ORMExecutor;
@@ -30,7 +30,7 @@ final class LoadDataFixturesDoctrineCommand extends DoctrineCommand
3030
{
3131
/** @param PurgerFactory[] $purgerFactories */
3232
public function __construct(
33-
private FixturesProviderInterface $fixturesLoader,
33+
private FixturesProvider $fixturesLoader,
3434
ManagerRegistry $doctrine,
3535
/** @var array<string, ORMPurgerFactory> $purgerFactories */
3636
private array $purgerFactories = [],

src/Loader/FixturesProviderInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66

77
use Doctrine\Common\DataFixtures\FixtureInterface;
88

9-
interface FixturesProviderInterface
9+
interface FixturesProvider
1010
{
1111
/**
1212
* @param string[] $groups
13+
*
1314
* @return FixtureInterface[]
1415
*/
1516
public function getFixtures(array $groups = []): array;

src/Loader/SymfonyFixturesLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use function get_class;
1818
use function sprintf;
1919

20-
final class SymfonyFixturesLoader extends Loader implements FixturesProviderInterface
20+
final class SymfonyFixturesLoader extends Loader implements FixturesProvider
2121
{
2222
/** @var FixtureInterface[] */
2323
private array $loadedFixtures = [];

0 commit comments

Comments
 (0)