Skip to content

Commit

Permalink
Merge pull request #3 from hethehe/master
Browse files Browse the repository at this point in the history
add PHP 8.0 & Coreshop 3.0 compatibility
  • Loading branch information
dpfaffenbauer authored Oct 11, 2022
2 parents 0ed882d + 4586cf4 commit b963838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.2|^8.0",
"karser/payum-saferpay": "^0.3",
"coreshop/core-shop": "^2.2"
"coreshop/core-shop": "^2.2|^3.0"
},
"config": {
"bin-dir": "bin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function onPostExecute(Context $context)
{
$action = $context->getAction();

$previousActionClassName = get_class($action);
$previousActionClassName = is_object($action) ? get_class($action) : false;
if (false === stripos($previousActionClassName, 'ConvertPaymentAction')) {
return;
}
Expand Down

0 comments on commit b963838

Please sign in to comment.