mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-10 11:21:24 +00:00
Apply new rector rules regarding to PHP version to 8.4
This commit is contained in:
@@ -54,7 +54,7 @@ class LoadActivityReason extends AbstractFixture implements OrderedFixtureInterf
|
||||
|
||||
foreach ($reasons as $r) {
|
||||
echo 'Creating activity reason : '.$r['name']['en']."\n";
|
||||
$activityReason = (new ActivityReason())
|
||||
$activityReason = new ActivityReason()
|
||||
->setName($r['name'])
|
||||
->setActive(true)
|
||||
->setCategory($this->getReference($r['category'], ActivityReasonCategory::class));
|
||||
|
||||
Reference in New Issue
Block a user