diff --git a/psalm.xml b/psalm.xml index 4372a0a..b975272 100644 --- a/psalm.xml +++ b/psalm.xml @@ -29,4 +29,11 @@ + + + + + + + diff --git a/src/Factory/RegisteredWebhooksFactory.php b/src/Factory/RegisteredWebhooksFactory.php index b83aa82..48b76b5 100644 --- a/src/Factory/RegisteredWebhooksFactory.php +++ b/src/Factory/RegisteredWebhooksFactory.php @@ -15,8 +15,10 @@ public function __construct( ) { } + /** @psalm-suppress MoreSpecificReturnType */ public function createNew(): RegisteredWebhooksInterface { + /** @psalm-suppress LessSpecificReturnStatement */ return $this->decoratedFactory->createNew(); } diff --git a/src/Factory/UploadOrderRequestFactory.php b/src/Factory/UploadOrderRequestFactory.php index 2fa8ae2..ec47b9b 100644 --- a/src/Factory/UploadOrderRequestFactory.php +++ b/src/Factory/UploadOrderRequestFactory.php @@ -15,8 +15,10 @@ public function __construct( ) { } + /** @psalm-suppress MoreSpecificReturnType */ public function createNew(): UploadOrderRequestInterface { + /** @psalm-suppress LessSpecificReturnStatement */ return $this->decoratedFactory->createNew(); } }