|
@@ -63,7 +63,7 @@ class DateTimeConstraint
|
|
|
* @return bool
|
|
* @return bool
|
|
|
*/
|
|
*/
|
|
|
private function hasCustomPeriods($historical): bool{
|
|
private function hasCustomPeriods($historical): bool{
|
|
|
- return $historical['dateStart'] && $historical['dateEnd'];
|
|
|
|
|
|
|
+ return array_key_exists('dateStart', $historical) && $historical['dateStart'] && array_key_exists('dateEnd', $historical) && $historical['dateEnd'];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|