Skip to content

Commit

Permalink
away with you tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathielen committed Apr 2, 2024
1 parent d659364 commit b8d4440
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 220 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'scope' => 'namespaced',
'strict' => false,
],
'nullable_type_declaration_for_default_null_value' => false,
'nullable_type_declaration_for_default_null_value' => false,
'void_return' => true,
'random_api_migration' => true,
'pow_to_exponentiation' => true,
Expand Down
16 changes: 8 additions & 8 deletions src/CXml/Model/Classification.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ public function __construct(string $domain, string $value)
$this->value = $value;
}

public function getDomain(): string
{
return $this->domain;
}
public function getDomain(): string
{
return $this->domain;
}

public function getValue(): string
{
return $this->value;
}
public function getValue(): string
{
return $this->value;
}
}
8 changes: 4 additions & 4 deletions src/CXml/Model/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public function addEmail(string $email): self
return $this;
}

public function getEmail(): ?string
{
return $this->email;
}
public function getEmail(): ?string
{
return $this->email;
}
}
22 changes: 11 additions & 11 deletions src/CXml/Model/Message/QuoteMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ class QuoteMessage implements MessagePayloadInterface
*/
private QuoteMessageHeader $quoteMessageHeader;

/**
* @Ser\XmlList(inline=true, entry="QuoteItemIn")
* @Ser\Type("array<CXml\Model\ItemIn>")
*
* @var ItemIn[]
*/
private array $quoteMessageItems = [];
/**
* @Ser\XmlList(inline=true, entry="QuoteItemIn")
* @Ser\Type("array<CXml\Model\ItemIn>")
*
* @var ItemIn[]
*/
private array $quoteMessageItems = [];

private function __construct(QuoteMessageHeader $quoteMessageHeader)
{
Expand All @@ -39,8 +39,8 @@ public function getQuoteMessageHeader(): QuoteMessageHeader
return $this->quoteMessageHeader;
}

public function getQuoteMessageItems(): array
{
return $this->quoteMessageItems;
}
public function getQuoteMessageItems(): array
{
return $this->quoteMessageItems;
}
}
104 changes: 52 additions & 52 deletions src/CXml/Model/Message/QuoteMessageHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ class QuoteMessageHeader
private ShipTo $shipTo;

/**
* @Ser\XmlList(inline=true, entry="Contact")
* @Ser\Type("array<CXml\Model\Contact>")
*
* @var Contact[]
*/
* @Ser\XmlList(inline=true, entry="Contact")
* @Ser\Type("array<CXml\Model\Contact>")
*
* @var Contact[]
*/
private array $contacts = [];

public function __construct(OrganizationId $organizationId, MoneyWrapper $total, string $type, string $quoteId, \DateTime $quoteDate, string $currency, string $lang = 'en')
Expand Down Expand Up @@ -108,51 +108,51 @@ public function addContact(Contact $contact): self
return $this;
}

public function getOrganizationId(): OrganizationId
{
return $this->organizationId;
}

/**
* @return Contact[]
*/
public function getContacts(): array
{
return $this->contacts;
}

public function getCurrency(): string
{
return $this->currency;
}

public function getQuoteId(): string
{
return $this->quoteId;
}

public function getQuoteDate(): \DateTimeInterface
{
return $this->quoteDate;
}

public function getLang(): string
{
return $this->lang;
}

public function getTotal(): MoneyWrapper
{
return $this->total;
}

public function getType(): string
{
return $this->type;
}

public function getShipTo(): ShipTo
{
return $this->shipTo;
}
public function getOrganizationId(): OrganizationId
{
return $this->organizationId;
}

/**
* @return Contact[]
*/
public function getContacts(): array
{
return $this->contacts;
}

public function getCurrency(): string
{
return $this->currency;
}

public function getQuoteId(): string
{
return $this->quoteId;
}

public function getQuoteDate(): \DateTimeInterface
{
return $this->quoteDate;
}

public function getLang(): string
{
return $this->lang;
}

public function getTotal(): MoneyWrapper
{
return $this->total;
}

public function getType(): string
{
return $this->type;
}

public function getShipTo(): ShipTo
{
return $this->shipTo;
}
}
Loading

0 comments on commit b8d4440

Please sign in to comment.