Skip to content

Commit

Permalink
Fix namepsace separator
Browse files Browse the repository at this point in the history
  • Loading branch information
jmatthiesen81 committed Jun 17, 2024
1 parent 6ed786f commit 63e43a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

namespace Shopware\Core\Checkout\Payment\Exception;
if (class_exists(__NAMESPACE__ . '/PaymentProcessException')) {
if (class_exists(__NAMESPACE__ . '\\PaymentProcessException')) {
return;
}
use Shopware\Core\Framework\Log\Package;
Expand Down
4 changes: 2 additions & 2 deletions polyfill/Shopware/Core/Checkout/Payment/PaymentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Shopware\Core\Checkout\Payment;


if (class_exists(__NAMESPACE__ . '/PaymentException')) {
if (class_exists(__NAMESPACE__ . '\\PaymentException')) {
return;
}

Expand All @@ -24,4 +24,4 @@ public static function customerCanceled(string $orderTransactionId, string $addi
{
return new CustomerCanceledAsyncPaymentException($orderTransactionId, $additionalInformation, $e);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Shopware\Core\System\Snippet\Files;


if (class_exists(__NAMESPACE__.'/AbstractSnippetFile')) {
if (class_exists(__NAMESPACE__.'\\AbstractSnippetFile')) {
return;
}

Expand Down

0 comments on commit 63e43a4

Please sign in to comment.