diff --git a/phpstan.neon b/phpstan.neon index c6f0727..166988e 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ parameters: - level: 8 + level: max paths: - 'src' - 'tests' diff --git a/src/zugferd2/Reader.php b/src/zugferd2/Reader.php index f4e4208..066d8b4 100644 --- a/src/zugferd2/Reader.php +++ b/src/zugferd2/Reader.php @@ -16,6 +16,7 @@ public function __construct(private readonly SerializerInterface $serializer) public function transform(string $xml): CrossIndustryInvoice { + // @phpstan-ignore-next-line return $this->serializer->deserialize($xml, CrossIndustryInvoice::class, 'xml'); }