Skip to content

Commit 8f839c0

Browse files
committed
Changes on Fixture for symfony 6.4 compatibility
1 parent 39b02fa commit 8f839c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Persistence/DataFixtures/AdminFixture.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(UserPasswordHasherInterface $passwordEncoder)
2424
/**
2525
* @param \Doctrine\Persistence\ObjectManager $manager
2626
*/
27-
public function load(ObjectManager $manager)
27+
public function load(ObjectManager $manager):void
2828
{
2929
$admin = new User();
3030
$admin->setName('System Admin');

src/Persistence/DataFixtures/AppFixtures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class AppFixtures extends Fixture
99
{
10-
public function load(ObjectManager $manager)
10+
public function load(ObjectManager $manager):void
1111
{
1212
// $product = new Product();
1313
// $manager->persist($product);

0 commit comments

Comments
 (0)