Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit c4f9836

Browse files
committed
Minor change in doc about uuids
1 parent e8deb39 commit c4f9836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ class PostFixtures extends AbstractFixture implements ORMFixtureInterface
158158
public function getObjects(): array
159159
{
160160
return [
161-
['id' => 1, 'title' => 'First post', 'parent' => null],
161+
['id' => 'c5022243-343b-40c3-8c88-09c1a76faf78', 'title' => 'First post', 'parent' => null],
162162
[
163163
'title' => 'Second post',
164164
'parent' => function(Post $object, AbstractFixture $fixture, EntityManagerInterface $manager) {
165-
return $fixture->getReference('posts-1');
165+
return $fixture->getReference('posts-c5022243-343b-40c3-8c88-09c1a76faf78');
166166
},
167167
],
168168
];

0 commit comments

Comments
 (0)