Skip to content

Commit

Permalink
[INTERNAL] fix validator
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijusCoding committed Dec 13, 2024
1 parent c8503e6 commit e6f2be5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Adapter/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

namespace Invertus\SaferPay\Adapter;

if (!defined('_PS_VERSION_')) {
exit;
}

class Cart
{
/**
Expand Down
4 changes: 4 additions & 0 deletions src/Controller/AbstractAdminSaferPayController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
use Invertus\SaferPay\Response\JsonResponse;
use Invertus\SaferPay\Utility\ExceptionUtility;

if (!defined('_PS_VERSION_')) {
exit;
}

class AbstractAdminSaferPayController extends \ModuleAdminController
{
const FILE_NAME = 'AbstractAdminSaferPayController';
Expand Down
4 changes: 4 additions & 0 deletions src/Logger/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
use Invertus\SaferPay\Provider\BasicIdempotencyProvider;
use Invertus\SaferPay\Repository\PrestashopLoggerRepositoryInterface;

if (!defined('_PS_VERSION_')) {
exit;
}

class Logger implements LoggerInterface
{
const FILE_NAME = 'Logger';
Expand Down

0 comments on commit e6f2be5

Please sign in to comment.