Skip to content

Commit

Permalink
Clean code using PHPCBF
Browse files Browse the repository at this point in the history
  • Loading branch information
ruff committed Feb 15, 2023
1 parent 0b3e40b commit 5bef353
Show file tree
Hide file tree
Showing 200 changed files with 816 additions and 1,469 deletions.
10 changes: 5 additions & 5 deletions src/OrderObjectHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -792,11 +792,11 @@ public function getSupplyChainEventType(?DateTime $occurrenceDateTime = null): ?
/**
* Get a DeliverySupplyChainEvent
*
* @param DateTime|null $occurrenceDateTime
* @param DateTime|null $startDateTime
* @param DateTime|null $endDateTime
* @param float|null $unitQuantity
* @param string|null $unitCode
* @param DateTime|null $occurrenceDateTime
* @param DateTime|null $startDateTime
* @param DateTime|null $endDateTime
* @param float|null $unitQuantity
* @param string|null $unitCode
* @return object|null
*/
public function getDeliverySupplyChainEvent(?DateTime $occurrenceDateTime = null, ?DateTime $startDateTime = null, ?DateTime $endDateTime = null, ?float $unitQuantity = null, ?string $unitCode = null): ?object
Expand Down
2 changes: 1 addition & 1 deletion src/OrderPackageVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public static function getInstalledVersion(): string
{
return ComposerInstalledVersions::getVersion('horstoeko/orderx');
}
}
}
6 changes: 1 addition & 5 deletions src/entities/basic/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 All @@ -49,7 +48,4 @@ public function __toString()
{
return strval($this->__value);
}


}

6 changes: 1 addition & 5 deletions src/entities/basic/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 All @@ -49,7 +48,4 @@ public function __toString()
{
return strval($this->__value);
}


}

6 changes: 1 addition & 5 deletions src/entities/basic/qdt/DeliveryTermsCodeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing DeliveryTermsCodeType
*
*
* XSD Type: DeliveryTermsCodeType
*/
class DeliveryTermsCodeType
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 All @@ -49,7 +48,4 @@ public function __toString()
{
return strval($this->__value);
}


}

6 changes: 1 addition & 5 deletions src/entities/basic/qdt/DeliveryTermsFunctionCodeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing DeliveryTermsFunctionCodeType
*
*
* XSD Type: DeliveryTermsFunctionCodeType
*/
class DeliveryTermsFunctionCodeType
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 All @@ -49,7 +48,4 @@ public function __toString()
{
return strval($this->__value);
}


}

6 changes: 1 addition & 5 deletions src/entities/basic/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 All @@ -49,7 +48,4 @@ public function __toString()
{
return strval($this->__value);
}


}

6 changes: 1 addition & 5 deletions src/entities/basic/qdt/DocumentStatusCodeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing DocumentStatusCodeType
*
*
* XSD Type: DocumentStatusCodeType
*/
class DocumentStatusCodeType
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 All @@ -49,7 +48,4 @@ public function __toString()
{
return strval($this->__value);
}


}

6 changes: 1 addition & 5 deletions src/entities/basic/qdt/LineStatusCodeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing LineStatusCodeType
*
*
* XSD Type: LineStatusCodeType
*/
class LineStatusCodeType
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 All @@ -49,7 +48,4 @@ public function __toString()
{
return strval($this->__value);
}


}

6 changes: 1 addition & 5 deletions src/entities/basic/qdt/MessageFunctionCodeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Class representing MessageFunctionCodeType
*
*
* XSD Type: MessageFunctionCodeType
*/
class MessageFunctionCodeType
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 All @@ -49,7 +48,4 @@ public function __toString()
{
return strval($this->__value);
}


}

5 changes: 1 addition & 4 deletions src/entities/basic/ram/DocumentContextParameterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,12 @@ public function getID()
*
* ID
*
* @param \horstoeko\orderx\entities\basic\udt\IDType $iD
* @param \horstoeko\orderx\entities\basic\udt\IDType $iD
* @return self
*/
public function setID(\horstoeko\orderx\entities\basic\udt\IDType $iD)
{
$this->iD = $iD;
return $this;
}


}

15 changes: 6 additions & 9 deletions src/entities/basic/ram/DocumentLineDocumentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function getLineID()
*
* Line ID
*
* @param \horstoeko\orderx\entities\basic\udt\IDType $lineID
* @param \horstoeko\orderx\entities\basic\udt\IDType $lineID
* @return self
*/
public function setLineID(\horstoeko\orderx\entities\basic\udt\IDType $lineID)
Expand All @@ -77,7 +77,7 @@ public function getLineStatusCode()
*
* Status Code
*
* @param string $lineStatusCode
* @param string $lineStatusCode
* @return self
*/
public function setLineStatusCode($lineStatusCode)
Expand All @@ -92,7 +92,7 @@ public function setLineStatusCode($lineStatusCode)
* Note
*
* @return self
* @param \horstoeko\orderx\entities\basic\ram\NoteType $includedNote
* @param \horstoeko\orderx\entities\basic\ram\NoteType $includedNote
*/
public function addToIncludedNote(\horstoeko\orderx\entities\basic\ram\NoteType $includedNote)
{
Expand All @@ -105,7 +105,7 @@ public function addToIncludedNote(\horstoeko\orderx\entities\basic\ram\NoteType
*
* Note
*
* @param int|string $index
* @param int|string $index
* @return bool
*/
public function issetIncludedNote($index)
Expand All @@ -118,7 +118,7 @@ public function issetIncludedNote($index)
*
* Note
*
* @param int|string $index
* @param int|string $index
* @return void
*/
public function unsetIncludedNote($index)
Expand All @@ -143,15 +143,12 @@ public function getIncludedNote()
*
* Note
*
* @param \horstoeko\orderx\entities\basic\ram\NoteType[] $includedNote
* @param \horstoeko\orderx\entities\basic\ram\NoteType[] $includedNote
* @return self
*/
public function setIncludedNote(array $includedNote = null)
{
$this->includedNote = $includedNote;
return $this;
}


}

9 changes: 3 additions & 6 deletions src/entities/basic/ram/ExchangedDocumentContextType.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function getTestIndicator()
*
* Test Indicator
*
* @param \horstoeko\orderx\entities\basic\udt\IndicatorType $testIndicator
* @param \horstoeko\orderx\entities\basic\udt\IndicatorType $testIndicator
* @return self
*/
public function setTestIndicator(?\horstoeko\orderx\entities\basic\udt\IndicatorType $testIndicator = null)
Expand All @@ -75,7 +75,7 @@ public function getBusinessProcessSpecifiedDocumentContextParameter()
*
* Business Process
*
* @param \horstoeko\orderx\entities\basic\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter
* @param \horstoeko\orderx\entities\basic\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter
* @return self
*/
public function setBusinessProcessSpecifiedDocumentContextParameter(?\horstoeko\orderx\entities\basic\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter = null)
Expand All @@ -101,15 +101,12 @@ public function getGuidelineSpecifiedDocumentContextParameter()
*
* Guideline
*
* @param \horstoeko\orderx\entities\basic\ram\DocumentContextParameterType $guidelineSpecifiedDocumentContextParameter
* @param \horstoeko\orderx\entities\basic\ram\DocumentContextParameterType $guidelineSpecifiedDocumentContextParameter
* @return self
*/
public function setGuidelineSpecifiedDocumentContextParameter(\horstoeko\orderx\entities\basic\ram\DocumentContextParameterType $guidelineSpecifiedDocumentContextParameter)
{
$this->guidelineSpecifiedDocumentContextParameter = $guidelineSpecifiedDocumentContextParameter;
return $this;
}


}

Loading

0 comments on commit 5bef353

Please sign in to comment.