Skip to content

Commit 2ee2821

Browse files
authored
Merge pull request #20 from olsgreen/analysis-329pPp
Apply fixes from StyleCI
2 parents 55e1e41 + fd838dc commit 2ee2821

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/Api/Builders/StockItemAdvertsInfoBuilder.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ public function toArray(): array
126126

127127
return $this->filterPrepareOutput([
128128
'vatScheme' => $this->vatScheme,
129-
'reservationStatus' => $this->reservationStatus,
130-
'forecourtPrice' => $this->forecourtPrice->toArray(),
131-
'retailAdverts' => $this->retailAdverts->toArray(),
132-
'stockInDate' => $this->stockInDate ? $this->stockInDate->format('Y-m-d') : null,
133-
'dueDate' => $this->dueDate ? $this->dueDate->format('Y-m-d') : null,
129+
'reservationStatus' => $this->reservationStatus,
130+
'forecourtPrice' => $this->forecourtPrice->toArray(),
131+
'retailAdverts' => $this->retailAdverts->toArray(),
132+
'stockInDate' => $this->stockInDate ? $this->stockInDate->format('Y-m-d') : null,
133+
'dueDate' => $this->dueDate ? $this->dueDate->format('Y-m-d') : null,
134134
]);
135135
}
136136
}

src/Api/Builders/StockItemRetailAdvertsInfoBuilder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Olsgreen\AutoTrader\Api\Builders;
44

5-
use Olsgreen\AutoTrader\Api\Enums\VatSchemes;
65
use Olsgreen\AutoTrader\Api\Enums\VatStatuses;
76

87
class StockItemRetailAdvertsInfoBuilder extends AbstractBuilder

src/Api/Enums/VatSchemes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ class VatSchemes extends AbstractEnum
77
const MARGINAL = 'Marginal';
88

99
const VAT_QUALIFYING = 'VAT Qualifying';
10-
}
10+
}

0 commit comments

Comments
 (0)