Skip to content

Commit

Permalink
SUPESC-755 Fixed CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkicheglovspryker committed Dec 4, 2023
1 parent f45d67e commit c2fcef8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@
use Orm\Zed\Unzer\Persistence\SpyPaymentUnzerOrderItem;
use Orm\Zed\Unzer\Persistence\SpyPaymentUnzerTransaction;
use Orm\Zed\Unzer\Persistence\SpyUnzerCredentials;
use Propel\Runtime\Collection\ObjectCollection;
use Propel\Runtime\Collection\Collection;

class UnzerMapper
{
/**
* @param \Propel\Runtime\Collection\ObjectCollection $paymentUnzerOrderItemEntities
* @param \Propel\Runtime\Collection\Collection<\Orm\Zed\Unzer\Persistence\SpyPaymentUnzerOrderItem> $paymentUnzerOrderItemEntities
* @param \Generated\Shared\Transfer\PaymentUnzerOrderItemCollectionTransfer $paymentUnzerOrderItemCollectionTransfer
*
* @return \Generated\Shared\Transfer\PaymentUnzerOrderItemCollectionTransfer
*/
public function mapPaymentUnzerOrderItemEntitiesToPaymentUnzerOrderItemCollectionTransfer(
ObjectCollection $paymentUnzerOrderItemEntities,
Collection $paymentUnzerOrderItemEntities,
PaymentUnzerOrderItemCollectionTransfer $paymentUnzerOrderItemCollectionTransfer
): PaymentUnzerOrderItemCollectionTransfer {
foreach ($paymentUnzerOrderItemEntities as $paymentUnzerOrderItemEntity) {
Expand Down Expand Up @@ -210,13 +210,13 @@ public function mapUnzerCredentialsEntityToUnzerCredentialsTransfer(
}

/**
* @param \Propel\Runtime\Collection\ObjectCollection $unzerCredentialsStoreEntities
* @param \Propel\Runtime\Collection\Collection<\Orm\Zed\Unzer\Persistence\SpyUnzerCredentialsStore> $unzerCredentialsStoreEntities
* @param \Generated\Shared\Transfer\StoreRelationTransfer $storeRelationTransfer
*
* @return \Generated\Shared\Transfer\StoreRelationTransfer
*/
public function mapUnzerCredentialsStoreEntitiesToStoreRelationTransfer(
ObjectCollection $unzerCredentialsStoreEntities,
Collection $unzerCredentialsStoreEntities,
StoreRelationTransfer $storeRelationTransfer
): StoreRelationTransfer {
foreach ($unzerCredentialsStoreEntities as $unzerCredentialsStoreEntity) {
Expand All @@ -239,13 +239,13 @@ protected function mapStoreEntityToStoreTransfer(SpyStore $storeEntity, StoreTra
}

/**
* @param \Propel\Runtime\Collection\ObjectCollection $unzerCredentialsEntities
* @param \Propel\Runtime\Collection\Collection<\Orm\Zed\Unzer\Persistence\SpyUnzerCredentials> $unzerCredentialsEntities
* @param \Generated\Shared\Transfer\UnzerCredentialsCollectionTransfer $unzerCredentialsCollectionTransfer
*
* @return \Generated\Shared\Transfer\UnzerCredentialsCollectionTransfer
*/
public function mapUnzerCredentialsEntityCollectionToUnzerCredentialsTransferCollection(
ObjectCollection $unzerCredentialsEntities,
Collection $unzerCredentialsEntities,
UnzerCredentialsCollectionTransfer $unzerCredentialsCollectionTransfer
): UnzerCredentialsCollectionTransfer {
foreach ($unzerCredentialsEntities as $unzerCredentialsEntity) {
Expand All @@ -258,13 +258,13 @@ public function mapUnzerCredentialsEntityCollectionToUnzerCredentialsTransferCol
}

/**
* @param \Propel\Runtime\Collection\ObjectCollection<\Orm\Zed\Unzer\Persistence\SpyPaymentUnzerTransaction> $paymentUnzerTransactionEntities
* @param \Propel\Runtime\Collection\Collection<\Orm\Zed\Unzer\Persistence\SpyPaymentUnzerTransaction> $paymentUnzerTransactionEntities
* @param \Generated\Shared\Transfer\PaymentUnzerTransactionCollectionTransfer $paymentUnzerTransactionCollectionTransfer
*
* @return \Generated\Shared\Transfer\PaymentUnzerTransactionCollectionTransfer
*/
public function mapPaymentUnzerTransactionEntityCollectionToPaymentUnzerTransactionCollectionTransfer(
ObjectCollection $paymentUnzerTransactionEntities,
Collection $paymentUnzerTransactionEntities,
PaymentUnzerTransactionCollectionTransfer $paymentUnzerTransactionCollectionTransfer
): PaymentUnzerTransactionCollectionTransfer {
foreach ($paymentUnzerTransactionEntities as $paymentUnzerTransactionEntity) {
Expand Down
2 changes: 1 addition & 1 deletion src/SprykerEco/Zed/Unzer/UnzerConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public function mapUnzerPaymentStatusToOmsStatus(int $unzerStateId): string
*
* @return array<int, string>
*/
public function getUnzerPaymentStateToOmsStatusMap(): string
public function getUnzerPaymentStateToOmsStatusMap(): array
{
return static::UNZER_PAYMENT_STATE_OMS_STATUS_MAP;
}
Expand Down

0 comments on commit c2fcef8

Please sign in to comment.