Update baseline and fix PHPStan

This commit is contained in:
Kamil Grygierzec 2024-09-13 11:06:18 +02:00 committed by Grzegorz Sadowski
parent 66badc3782
commit 192b089864
2 changed files with 1 additions and 21 deletions

View file

@ -1195,26 +1195,6 @@ parameters:
count: 1 count: 1
path: src/Sylius/Bundle/ApiBundle/DataTransformer/OrderTokenValueAwareInputCommandDataTransformer.php path: src/Sylius/Bundle/ApiBundle/DataTransformer/OrderTokenValueAwareInputCommandDataTransformer.php
-
message: "#^Method Sylius\\\\Bundle\\\\ApiBundle\\\\DataTransformer\\\\ShipmentIdAwareInputCommandDataTransformer\\:\\:supportsTransformation\\(\\) has parameter \\$object with no type specified\\.$#"
count: 1
path: src/Sylius/Bundle/ApiBundle/DataTransformer/ShipmentIdAwareInputCommandDataTransformer.php
-
message: "#^Method Sylius\\\\Bundle\\\\ApiBundle\\\\DataTransformer\\\\ShipmentIdAwareInputCommandDataTransformer\\:\\:transform\\(\\) has no return type specified\\.$#"
count: 1
path: src/Sylius/Bundle/ApiBundle/DataTransformer/ShipmentIdAwareInputCommandDataTransformer.php
-
message: "#^Method Sylius\\\\Bundle\\\\ApiBundle\\\\DataTransformer\\\\ShipmentIdAwareInputCommandDataTransformer\\:\\:transform\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#"
count: 1
path: src/Sylius/Bundle/ApiBundle/DataTransformer/ShipmentIdAwareInputCommandDataTransformer.php
-
message: "#^Method Sylius\\\\Bundle\\\\ApiBundle\\\\DataTransformer\\\\ShipmentIdAwareInputCommandDataTransformer\\:\\:transform\\(\\) has parameter \\$object with no type specified\\.$#"
count: 1
path: src/Sylius/Bundle/ApiBundle/DataTransformer/ShipmentIdAwareInputCommandDataTransformer.php
- -
message: "#^Method Sylius\\\\Bundle\\\\ApiBundle\\\\DataTransformer\\\\SubresourceIdAwareCommandDataTransformer\\:\\:supportsTransformation\\(\\) has parameter \\$object with no type specified\\.$#" message: "#^Method Sylius\\\\Bundle\\\\ApiBundle\\\\DataTransformer\\\\SubresourceIdAwareCommandDataTransformer\\:\\:supportsTransformation\\(\\) has parameter \\$object with no type specified\\.$#"
count: 1 count: 1

View file

@ -16,7 +16,7 @@ namespace Sylius\Component\Payment\Factory;
use Sylius\Component\Payment\Model\PaymentInterface; use Sylius\Component\Payment\Model\PaymentInterface;
use Sylius\Component\Payment\Model\PaymentMethodInterface; use Sylius\Component\Payment\Model\PaymentMethodInterface;
use Sylius\Component\Payment\Model\PaymentRequestInterface; use Sylius\Component\Payment\Model\PaymentRequestInterface;
use Sylius\Component\Resource\Factory\FactoryInterface; use Sylius\Resource\Factory\FactoryInterface;
/** /**
* @template T of PaymentRequestInterface * @template T of PaymentRequestInterface