Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUPESC-162: Removed using deprecated constant. #41

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

illia-chaika
Copy link

No description provided.

@@ -66,7 +66,7 @@ public function getPaymentMethods(
*
* @api
*
* @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem[] $orderItems
* @param array<\Orm\Zed\Sales\Persistence\SpySalesOrderItem> $orderItems
* @param \Generated\Shared\Transfer\OrderTransfer $orderTransfer
* @param array $data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change this as well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check same param in interface and other methods

@@ -63,7 +63,7 @@ public function __construct(
}

/**
* @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem[] $orderItems
* @param array<\Orm\Zed\Sales\Persistence\SpySalesOrderItem> $orderItems
* @param \Generated\Shared\Transfer\OrderTransfer $orderTransfer
* @param array $data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need array<> notation ?

@@ -12,7 +12,7 @@
interface AdyenCommandHandlerInterface
{
/**
* @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem[] $orderItems
* @param array<\Orm\Zed\Sales\Persistence\SpySalesOrderItem> $orderItems
* @param \Generated\Shared\Transfer\OrderTransfer $orderTransfer
* @param array $data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need array<> notation ?

@pyvovarov-s
Copy link
Contributor

Please add change logs and all Pr references (ticket, release group ....)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants