Skip to content

Commit

Permalink
Merge pull request #3467 from acrobat/backport-fixture-deprecation-fixes
Browse files Browse the repository at this point in the history
[TranslatorBundle] Backport fixtures load deprecation fix
  • Loading branch information
acrobat authored Nov 11, 2024
2 parents b63aff4 + dce3d44 commit 9ba78d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TranslationFixtures extends AbstractFixture implements OrderedFixtureInter
/**
* Load data fixtures with the passed EntityManager
*/
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
$this->repo = $manager->getRepository(Entity::class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct()
$this->faker = FakerFactory::create();
}

public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
$this->errorKeys($manager);
$this->exceptionKeys($manager);
Expand Down

0 comments on commit 9ba78d2

Please sign in to comment.