Skip to content

Commit

Permalink
[TranslatorBundle] Backport fixtures load deprecation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
acrobat committed Nov 11, 2024
1 parent b63aff4 commit dce3d44
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 dce3d44

Please sign in to comment.