diff --git a/src/DataFixtures/StaffNoteFixture.php b/src/DataFixtures/StaffNoteFixture.php index bc7248e..dca4caf 100644 --- a/src/DataFixtures/StaffNoteFixture.php +++ b/src/DataFixtures/StaffNoteFixture.php @@ -48,7 +48,7 @@ class StaffNoteFixture extends Fixture implements DependentFixtureInterface $admitDate->add(\DateInterval::createFromDateString('14 days')); $note = clone $note; - $note->setDate($admitDate); + $note->setDate(clone $admitDate); } }