This commit is contained in:
James Cole 2020-01-09 19:26:45 +01:00
parent 7f002eb6a9
commit 220230e981
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -203,9 +203,6 @@ class BillTransformer extends AbstractTransformer
*/
protected function payDates(Bill $bill): array
{
$this->parameters->set('start', Carbon::create(2019, 11, 1));
$this->parameters->set('end', Carbon::create(2019, 11, 30));
Log::debug(sprintf('Now in payDates() for bill #%d', $bill->id));
if (null === $this->parameters->get('start') || null === $this->parameters->get('end')) {
Log::debug('No start or end date, give empty array.');