rdv: minor corrections following MR review

This commit is contained in:
nobohan
2021-07-23 10:14:20 +02:00
parent df7e76a2e7
commit cc3e7f54a7
5 changed files with 49 additions and 44 deletions

View File

@@ -20,15 +20,15 @@ class LoadCancelReason extends Fixture implements FixtureGroupInterface
return ['calendar'];
}
public static $references = array();
public static $references = [];
public function load(ObjectManager $manager): void
{
$arr = array(
array('name' => CancelReason::CANCELEDBY_USER),
array('name' => CancelReason::CANCELEDBY_PERSON),
array('name' => CancelReason::CANCELEDBY_DONOTCOUNT),
);
$arr = [
['name' => CancelReason::CANCELEDBY_USER],
['name' => CancelReason::CANCELEDBY_PERSON],
['name' => CancelReason::CANCELEDBY_DONOTCOUNT],
];
foreach ($arr as $a) {
print "Creating calendar cancel reason : " . $a['name'] . "\n";