Skip to content

Commit

Permalink
Code beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed May 17, 2023
1 parent 2432b4f commit 9b2fb08
Show file tree
Hide file tree
Showing 24 changed files with 49 additions and 70 deletions.
8 changes: 4 additions & 4 deletions src/ZugferdDocumentBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public function setDocumentBuyerReference(string $buyerreference): ZugferdDocume
/**
* Detailed information about the seller (=service provider)
*
* @param string $name
* @param string $name
* The full formal name under which the seller is registered in the
* National Register of Legal Entities, Taxable Person or otherwise
* acting as person(s)
Expand Down Expand Up @@ -3508,10 +3508,10 @@ public function setDocumentPositionUltimateShipToAddress(?string $lineone = null
* party as a legal entity or legal person. If no identification scheme ($legalorgtype) is provided,
* it should be known to the buyer or seller party
* @param string|null $legalorgtype The identifier for the identification scheme of the legal
* registration of the party. In particular, the following scheme codes are used: 0021 : SWIFT, 0088 : EAN,
* 0060 : DUNS, 0177 : ODETTE
* registration of the party. In particular, the following scheme codes are used: 0021 : SWIFT, 0088 : EAN,
* 0060 : DUNS, 0177 : ODETTE
* @param string|null $legalorgname A name by which the party is known, if different from the party's name
* (also known as the company name)
* (also known as the company name)
* @return ZugferdDocumentBuilder
*/
public function setDocumentPositionUltimateShipToLegalOrganisation(?string $legalorgid, ?string $legalorgtype, ?string $legalorgname): ZugferdDocumentBuilder
Expand Down
2 changes: 1 addition & 1 deletion src/ZugferdDocumentValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ZugferdDocumentValidator
* Constructor
*
* @codeCoverageIgnore
* @param ZugferdDocument $document
* @param ZugferdDocument $document
*/
public function __construct(ZugferdDocument $document)
{
Expand Down
3 changes: 1 addition & 2 deletions src/entities/minimum/qdt/CountryIDType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing CountryIDType
*
*
* XSD Type: CountryIDType
*/
class CountryIDType
Expand All @@ -29,7 +28,7 @@ public function __construct($value)
/**
* Gets or sets the inner value
*
* @param string $value
* @param string $value
* @return string
*/
public function value()
Expand Down
3 changes: 1 addition & 2 deletions src/entities/minimum/qdt/CurrencyCodeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing CurrencyCodeType
*
*
* XSD Type: CurrencyCodeType
*/
class CurrencyCodeType
Expand All @@ -29,7 +28,7 @@ public function __construct($value)
/**
* Gets or sets the inner value
*
* @param string $value
* @param string $value
* @return string
*/
public function value()
Expand Down
3 changes: 1 addition & 2 deletions src/entities/minimum/qdt/DocumentCodeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing DocumentCodeType
*
*
* XSD Type: DocumentCodeType
*/
class DocumentCodeType
Expand All @@ -29,7 +28,7 @@ public function __construct($value)
/**
* Gets or sets the inner value
*
* @param string $value
* @param string $value
* @return string
*/
public function value()
Expand Down
3 changes: 1 addition & 2 deletions src/entities/minimum/ram/DocumentContextParameterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing DocumentContextParameterType
*
*
* XSD Type: DocumentContextParameterType
*/
class DocumentContextParameterType
Expand All @@ -29,7 +28,7 @@ public function getID()
/**
* Sets a new iD
*
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $iD
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $iD
* @return self
*/
public function setID(\horstoeko\zugferd\entities\minimum\udt\IDType $iD)
Expand Down
5 changes: 2 additions & 3 deletions src/entities/minimum/ram/ExchangedDocumentContextType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing ExchangedDocumentContextType
*
*
* XSD Type: ExchangedDocumentContextType
*/
class ExchangedDocumentContextType
Expand Down Expand Up @@ -34,7 +33,7 @@ public function getBusinessProcessSpecifiedDocumentContextParameter()
/**
* Sets a new businessProcessSpecifiedDocumentContextParameter
*
* @param \horstoeko\zugferd\entities\minimum\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter
* @param \horstoeko\zugferd\entities\minimum\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter
* @return self
*/
public function setBusinessProcessSpecifiedDocumentContextParameter(?\horstoeko\zugferd\entities\minimum\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter = null)
Expand All @@ -56,7 +55,7 @@ public function getGuidelineSpecifiedDocumentContextParameter()
/**
* Sets a new guidelineSpecifiedDocumentContextParameter
*
* @param \horstoeko\zugferd\entities\minimum\ram\DocumentContextParameterType $guidelineSpecifiedDocumentContextParameter
* @param \horstoeko\zugferd\entities\minimum\ram\DocumentContextParameterType $guidelineSpecifiedDocumentContextParameter
* @return self
*/
public function setGuidelineSpecifiedDocumentContextParameter(\horstoeko\zugferd\entities\minimum\ram\DocumentContextParameterType $guidelineSpecifiedDocumentContextParameter)
Expand Down
7 changes: 3 additions & 4 deletions src/entities/minimum/ram/ExchangedDocumentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing ExchangedDocumentType
*
*
* XSD Type: ExchangedDocumentType
*/
class ExchangedDocumentType
Expand Down Expand Up @@ -39,7 +38,7 @@ public function getID()
/**
* Sets a new iD
*
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $iD
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $iD
* @return self
*/
public function setID(\horstoeko\zugferd\entities\minimum\udt\IDType $iD)
Expand All @@ -61,7 +60,7 @@ public function getTypeCode()
/**
* Sets a new typeCode
*
* @param string $typeCode
* @param string $typeCode
* @return self
*/
public function setTypeCode($typeCode)
Expand All @@ -83,7 +82,7 @@ public function getIssueDateTime()
/**
* Sets a new issueDateTime
*
* @param \horstoeko\zugferd\entities\minimum\udt\DateTimeType $issueDateTime
* @param \horstoeko\zugferd\entities\minimum\udt\DateTimeType $issueDateTime
* @return self
*/
public function setIssueDateTime(\horstoeko\zugferd\entities\minimum\udt\DateTimeType $issueDateTime)
Expand Down
9 changes: 4 additions & 5 deletions src/entities/minimum/ram/HeaderTradeAgreementType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing HeaderTradeAgreementType
*
*
* XSD Type: HeaderTradeAgreementType
*/
class HeaderTradeAgreementType
Expand Down Expand Up @@ -44,7 +43,7 @@ public function getBuyerReference()
/**
* Sets a new buyerReference
*
* @param string $buyerReference
* @param string $buyerReference
* @return self
*/
public function setBuyerReference($buyerReference)
Expand All @@ -66,7 +65,7 @@ public function getSellerTradeParty()
/**
* Sets a new sellerTradeParty
*
* @param \horstoeko\zugferd\entities\minimum\ram\TradePartyType $sellerTradeParty
* @param \horstoeko\zugferd\entities\minimum\ram\TradePartyType $sellerTradeParty
* @return self
*/
public function setSellerTradeParty(\horstoeko\zugferd\entities\minimum\ram\TradePartyType $sellerTradeParty)
Expand All @@ -88,7 +87,7 @@ public function getBuyerTradeParty()
/**
* Sets a new buyerTradeParty
*
* @param \horstoeko\zugferd\entities\minimum\ram\TradePartyType $buyerTradeParty
* @param \horstoeko\zugferd\entities\minimum\ram\TradePartyType $buyerTradeParty
* @return self
*/
public function setBuyerTradeParty(\horstoeko\zugferd\entities\minimum\ram\TradePartyType $buyerTradeParty)
Expand All @@ -110,7 +109,7 @@ public function getBuyerOrderReferencedDocument()
/**
* Sets a new buyerOrderReferencedDocument
*
* @param \horstoeko\zugferd\entities\minimum\ram\ReferencedDocumentType $buyerOrderReferencedDocument
* @param \horstoeko\zugferd\entities\minimum\ram\ReferencedDocumentType $buyerOrderReferencedDocument
* @return self
*/
public function setBuyerOrderReferencedDocument(?\horstoeko\zugferd\entities\minimum\ram\ReferencedDocumentType $buyerOrderReferencedDocument = null)
Expand Down
1 change: 0 additions & 1 deletion src/entities/minimum/ram/HeaderTradeDeliveryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing HeaderTradeDeliveryType
*
*
* XSD Type: HeaderTradeDeliveryType
*/
class HeaderTradeDeliveryType
Expand Down
5 changes: 2 additions & 3 deletions src/entities/minimum/ram/HeaderTradeSettlementType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing HeaderTradeSettlementType
*
*
* XSD Type: HeaderTradeSettlementType
*/
class HeaderTradeSettlementType
Expand Down Expand Up @@ -34,7 +33,7 @@ public function getInvoiceCurrencyCode()
/**
* Sets a new invoiceCurrencyCode
*
* @param string $invoiceCurrencyCode
* @param string $invoiceCurrencyCode
* @return self
*/
public function setInvoiceCurrencyCode($invoiceCurrencyCode)
Expand All @@ -56,7 +55,7 @@ public function getSpecifiedTradeSettlementHeaderMonetarySummation()
/**
* Sets a new specifiedTradeSettlementHeaderMonetarySummation
*
* @param \horstoeko\zugferd\entities\minimum\ram\TradeSettlementHeaderMonetarySummationType $specifiedTradeSettlementHeaderMonetarySummation
* @param \horstoeko\zugferd\entities\minimum\ram\TradeSettlementHeaderMonetarySummationType $specifiedTradeSettlementHeaderMonetarySummation
* @return self
*/
public function setSpecifiedTradeSettlementHeaderMonetarySummation(\horstoeko\zugferd\entities\minimum\ram\TradeSettlementHeaderMonetarySummationType $specifiedTradeSettlementHeaderMonetarySummation)
Expand Down
3 changes: 1 addition & 2 deletions src/entities/minimum/ram/LegalOrganizationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing LegalOrganizationType
*
*
* XSD Type: LegalOrganizationType
*/
class LegalOrganizationType
Expand All @@ -29,7 +28,7 @@ public function getID()
/**
* Sets a new iD
*
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $iD
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $iD
* @return self
*/
public function setID(?\horstoeko\zugferd\entities\minimum\udt\IDType $iD = null)
Expand Down
3 changes: 1 addition & 2 deletions src/entities/minimum/ram/ReferencedDocumentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing ReferencedDocumentType
*
*
* XSD Type: ReferencedDocumentType
*/
class ReferencedDocumentType
Expand All @@ -29,7 +28,7 @@ public function getIssuerAssignedID()
/**
* Sets a new issuerAssignedID
*
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $issuerAssignedID
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $issuerAssignedID
* @return self
*/
public function setIssuerAssignedID(\horstoeko\zugferd\entities\minimum\udt\IDType $issuerAssignedID)
Expand Down
7 changes: 3 additions & 4 deletions src/entities/minimum/ram/SupplyChainTradeTransactionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing SupplyChainTradeTransactionType
*
*
* XSD Type: SupplyChainTradeTransactionType
*/
class SupplyChainTradeTransactionType
Expand Down Expand Up @@ -39,7 +38,7 @@ public function getApplicableHeaderTradeAgreement()
/**
* Sets a new applicableHeaderTradeAgreement
*
* @param \horstoeko\zugferd\entities\minimum\ram\HeaderTradeAgreementType $applicableHeaderTradeAgreement
* @param \horstoeko\zugferd\entities\minimum\ram\HeaderTradeAgreementType $applicableHeaderTradeAgreement
* @return self
*/
public function setApplicableHeaderTradeAgreement(\horstoeko\zugferd\entities\minimum\ram\HeaderTradeAgreementType $applicableHeaderTradeAgreement)
Expand All @@ -61,7 +60,7 @@ public function getApplicableHeaderTradeDelivery()
/**
* Sets a new applicableHeaderTradeDelivery
*
* @param \horstoeko\zugferd\entities\minimum\ram\HeaderTradeDeliveryType $applicableHeaderTradeDelivery
* @param \horstoeko\zugferd\entities\minimum\ram\HeaderTradeDeliveryType $applicableHeaderTradeDelivery
* @return self
*/
public function setApplicableHeaderTradeDelivery(\horstoeko\zugferd\entities\minimum\ram\HeaderTradeDeliveryType $applicableHeaderTradeDelivery)
Expand All @@ -83,7 +82,7 @@ public function getApplicableHeaderTradeSettlement()
/**
* Sets a new applicableHeaderTradeSettlement
*
* @param \horstoeko\zugferd\entities\minimum\ram\HeaderTradeSettlementType $applicableHeaderTradeSettlement
* @param \horstoeko\zugferd\entities\minimum\ram\HeaderTradeSettlementType $applicableHeaderTradeSettlement
* @return self
*/
public function setApplicableHeaderTradeSettlement(\horstoeko\zugferd\entities\minimum\ram\HeaderTradeSettlementType $applicableHeaderTradeSettlement)
Expand Down
3 changes: 1 addition & 2 deletions src/entities/minimum/ram/TaxRegistrationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing TaxRegistrationType
*
*
* XSD Type: TaxRegistrationType
*/
class TaxRegistrationType
Expand All @@ -29,7 +28,7 @@ public function getID()
/**
* Sets a new iD
*
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $iD
* @param \horstoeko\zugferd\entities\minimum\udt\IDType $iD
* @return self
*/
public function setID(\horstoeko\zugferd\entities\minimum\udt\IDType $iD)
Expand Down
3 changes: 1 addition & 2 deletions src/entities/minimum/ram/TradeAddressType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing TradeAddressType
*
*
* XSD Type: TradeAddressType
*/
class TradeAddressType
Expand All @@ -29,7 +28,7 @@ public function getCountryID()
/**
* Sets a new countryID
*
* @param string $countryID
* @param string $countryID
* @return self
*/
public function setCountryID($countryID)
Expand Down
Loading

0 comments on commit 9b2fb08

Please sign in to comment.