Skip to content

Commit

Permalink
Pimcore 11: Added return types to conform to ecommerce-framework-bund…
Browse files Browse the repository at this point in the history
…le. (#6)
  • Loading branch information
Daniel-Ateles authored Mar 29, 2024
1 parent b9037ba commit a44a53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PaymentManager/Payment/Klarna.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(array $options)
);
}

protected function processOptions(array $options)
protected function processOptions(array $options): void
{
parent::processOptions($options);

Check failure on line 60 in src/PaymentManager/Payment/Klarna.php

View workflow job for this annotation

GitHub Actions / Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false)

Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna::processOptions() calls parent::processOptions() but Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna does not extend any class.

Expand Down Expand Up @@ -206,7 +206,7 @@ public function getAuthorizedData(): array
/**
* @inheritdoc
*/
public function setAuthorizedData(array $authorizedData)
public function setAuthorizedData(array $authorizedData): void
{
$this->authorizedData = $authorizedData;
}
Expand Down

0 comments on commit a44a53f

Please sign in to comment.