Skip to content

Commit

Permalink
Merge pull request #60 from BitBagCommerce/bugfix/refund-plugin-version
Browse files Browse the repository at this point in the history
Bump sylius/refund-plugin version
  • Loading branch information
pptasinski-bitbag authored May 6, 2022
2 parents 4fb4560 + dd2c076 commit 5b61490
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"adyen/php-api-library": "^11.0",
"composer/package-versions-deprecated": "^1.11",
"nyholm/psr7": "^1.4",
"sylius/refund-plugin": "~1.0.0",
"sylius/refund-plugin": "~1.0.0 || ^1.1",
"sylius/resource-bundle": "^1.8",
"sylius/sylius": "^1.10.0 || ^1.11.0",
"symfony/messenger": "^4.4 || ^5.0",
Expand Down
2 changes: 2 additions & 0 deletions src/Repository/AdyenTokenRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ final class AdyenTokenRepository extends EntityRepository implements AdyenTokenR
/**
* @psalm-suppress MixedReturnStatement
* @psalm-suppress MixedInferredReturnType
* @psalm-suppress MoreSpecificReturnType
* @psalm-suppress LessSpecificReturnStatement
*/
public function findOneByPaymentMethodAndCustomer(
PaymentMethodInterface $paymentMethod,
Expand Down
4 changes: 4 additions & 0 deletions src/Repository/PaymentMethodRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public function __construct(EntityRepository $baseRepository)
/**
* @psalm-suppress MixedReturnStatement
* @psalm-suppress MixedInferredReturnType
* @psalm-suppress MoreSpecificReturnType
* @psalm-suppress LessSpecificReturnStatement
*/
public function find(int $id): ?PaymentMethodInterface
{
Expand All @@ -39,6 +41,8 @@ public function find(int $id): ?PaymentMethodInterface
/**
* @psalm-suppress MixedReturnStatement
* @psalm-suppress MixedInferredReturnType
* @psalm-suppress MoreSpecificReturnType
* @psalm-suppress LessSpecificReturnStatement
*/
public function getOneForAdyenAndCode(string $code): PaymentMethodInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Repository/PaymentRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public function __construct(EntityRepository $baseRepository)
/**
* @psalm-suppress MixedReturnStatement
* @psalm-suppress MixedInferredReturnType
* @psalm-suppress MoreSpecificReturnType
* @psalm-suppress LessSpecificReturnStatement
*/
public function find(int $id): ?PaymentInterface
{
Expand Down
4 changes: 4 additions & 0 deletions src/Repository/RefundPaymentRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public function __construct(EntityRepository $baseRepository)
/**
* @psalm-suppress MixedReturnStatement
* @psalm-suppress MixedInferredReturnType
* @psalm-suppress MoreSpecificReturnType
* @psalm-suppress LessSpecificReturnStatement
*/
public function getForOrderNumberAndRefundPaymentId(
string $orderNumber,
Expand All @@ -49,6 +51,8 @@ public function getForOrderNumberAndRefundPaymentId(
/**
* @psalm-suppress MixedReturnStatement
* @psalm-suppress MixedInferredReturnType
* @psalm-suppress MoreSpecificReturnType
* @psalm-suppress LessSpecificReturnStatement
*/
public function find(int $id): ?RefundPaymentInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Resolver/Order/PaymentCheckoutOrderResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ private function getCurrentRequest(): Request

/**
* @psalm-suppress MixedInferredReturnType
* @psalm-suppress MoreSpecificReturnType
* @psalm-suppress LessSpecificReturnStatement
*/
private function getCurrentOrder(): ?OrderInterface
{
Expand Down

0 comments on commit 5b61490

Please sign in to comment.