API response adjustments.

This commit is contained in:
Daniel-Garmig committed 2024-05-07 22:50:09 +02:00
1 parent a4ec188cff
commit 7b6d1408f8
3 files changed
+12 -3

No files matched your search

+3
View File
@@ -52,6 +52,9 @@ class FareTableRepository extends ServiceEntityRepository
public function getAllowedGuestNumberOnFareTableList(array $fareTableList): array
{
$fareTableCount = count($fareTableList);
if($fareTableCount == 0) {
return [];
}
$fareTableIdList = \array_map(function (FareTable $element) {
return $element->getId();