feat: reduce number of rating stars to 5

This commit is contained in:
Björn Fromme committed 2024-01-28 18:01:46 +01:00
1 parent 64ed782710
commit e742843eb5
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ class FeedbackRatingsType extends AbstractType
foreach ($ratings as $index => $rating) {
$builder->add('rating_'.$index, ChoiceType::class, [
'label' => $rating,
'choices' => array_combine(range(1, 6), range(1,6)),
'choices' => array_combine(range(1, 5), range(1,5)),
]);
}
}