Merge branch 'master' into develop

This commit is contained in:
Björn Fromme
2020-02-07 16:53:26 +01:00
@@ -26,7 +26,6 @@ namespace EP\EpProducts\Service;
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use CalendR\Period\Range;
use Doctrine\DBAL\DBALException;
use EP\EpProducts\Domain\Model\Contingent;
use EP\EpProducts\Domain\Model\Hotel;
@@ -183,8 +182,8 @@ class GroupsSwissService implements SingletonInterface, LoggerAwareInterface
protected function resetChart(Period $range, $apiKey, $houseNumber): void
{
$item = [
'from' => $range->getStartDate()->format('Y-m-d'),
'to' => $range->getEndDate()->format('Y-m-d'),
'from' => $range->getStartDate(),
'to' => $range->getEndDate(),
];
$this->addItem($item, 0, $apiKey, $houseNumber);