Merge branch 'hotfix/services-order'
This commit is contained in:
@@ -456,15 +456,15 @@ class DateImportService implements SingletonInterface, LoggerAwareInterface
|
||||
protected function combineServices(array $skiPass, array $servicesBoard, array $servicesIncluded)
|
||||
{
|
||||
$combinedServices = [];
|
||||
if ($servicesIncluded) {
|
||||
array_push($combinedServices, ...$servicesIncluded);
|
||||
}
|
||||
if ($skiPass) {
|
||||
array_push($combinedServices, ...$skiPass);
|
||||
}
|
||||
if ($servicesBoard) {
|
||||
array_push($combinedServices, ...$servicesBoard);
|
||||
}
|
||||
if ($servicesIncluded) {
|
||||
array_push($combinedServices, ...$servicesIncluded);
|
||||
}
|
||||
|
||||
return $combinedServices;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user