Skip to content

Commit

Permalink
Fix some PHPStan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Mar 12, 2024
1 parent 0d15c30 commit f05021f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ZugferdDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ZugferdDocument
*
* @codeCoverageIgnore
*/
protected function __construct(int $profile)
final protected function __construct(int $profile)
{
$this->initProfile($profile);
$this->initObjectHelper();
Expand All @@ -87,7 +87,7 @@ protected function __construct(int $profile)
* Returns the internal invoice object (created by the
* serializer). This is used e.g. in the validator
*
* @return \horstoeko\zugferd\entities\basic\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\basicwö\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\en16931\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\extended\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\minimum\rsm\CrossIndustryInvoice
* @return \horstoeko\zugferd\entities\basic\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\basicwl\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\en16931\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\extended\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\minimum\rsm\CrossIndustryInvoice
*/
public function getInvoiceObject()
{
Expand All @@ -97,7 +97,7 @@ public function getInvoiceObject()
/**
* Create a new instance of the internal invoice object
*
* @return \horstoeko\zugferd\entities\basic\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\basicwö\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\en16931\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\extended\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\minimum\rsm\CrossIndustryInvoice
* @return \horstoeko\zugferd\entities\basic\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\basicwl\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\en16931\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\extended\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\minimum\rsm\CrossIndustryInvoice
*/
protected function createInvoiceObject()
{
Expand Down Expand Up @@ -273,7 +273,7 @@ function (HandlerRegistryInterface $handler) {
* Deserialize XML content to internal invoice object
*
* @param string $xmlContent
* @return \horstoeko\zugferd\entities\basic\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\basicwö\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\en16931\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\extended\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\minimum\rsm\CrossIndustryInvoice
* @return \horstoeko\zugferd\entities\basic\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\basicwl\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\en16931\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\extended\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\minimum\rsm\CrossIndustryInvoice
*/
public function deserialize($xmlContent)
{
Expand Down

0 comments on commit f05021f

Please sign in to comment.