Skip to content

Commit

Permalink
Merge pull request #20 from olsgreen/analysis-329pPp
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
olsgreen authored Feb 29, 2024
2 parents 55e1e41 + fd838dc commit 2ee2821
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/Api/Builders/StockItemAdvertsInfoBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ public function toArray(): array

return $this->filterPrepareOutput([
'vatScheme' => $this->vatScheme,
'reservationStatus' => $this->reservationStatus,
'forecourtPrice' => $this->forecourtPrice->toArray(),
'retailAdverts' => $this->retailAdverts->toArray(),
'stockInDate' => $this->stockInDate ? $this->stockInDate->format('Y-m-d') : null,
'dueDate' => $this->dueDate ? $this->dueDate->format('Y-m-d') : null,
'reservationStatus' => $this->reservationStatus,
'forecourtPrice' => $this->forecourtPrice->toArray(),
'retailAdverts' => $this->retailAdverts->toArray(),
'stockInDate' => $this->stockInDate ? $this->stockInDate->format('Y-m-d') : null,
'dueDate' => $this->dueDate ? $this->dueDate->format('Y-m-d') : null,
]);
}
}
1 change: 0 additions & 1 deletion src/Api/Builders/StockItemRetailAdvertsInfoBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Olsgreen\AutoTrader\Api\Builders;

use Olsgreen\AutoTrader\Api\Enums\VatSchemes;
use Olsgreen\AutoTrader\Api\Enums\VatStatuses;

class StockItemRetailAdvertsInfoBuilder extends AbstractBuilder
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Enums/VatSchemes.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ class VatSchemes extends AbstractEnum
const MARGINAL = 'Marginal';

const VAT_QUALIFYING = 'VAT Qualifying';
}
}

0 comments on commit 2ee2821

Please sign in to comment.