Skip to content

Commit

Permalink
fix: move interfaces with same folder of where used
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john committed Aug 29, 2024
1 parent 961402a commit bffdfde
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/Repository/OrderCartRuleRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

namespace PrestaShop\Module\PsEventbus\Repository;

use PrestaShop\Module\PsEventbus\Interfaces\RepositoryInterface;
use PrestaShop\Module\PsEventbus\Repository\RepositoryInterface;
use PrestaShop\Module\PsEventbus\Repository\AbstractRepository;

class OrderCartRuleRepository extends AbstractRepository implements RepositoryInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace PrestaShop\Module\PsEventbus\Interfaces;
namespace PrestaShop\Module\PsEventbus\Repository;

/**
* @property \DbQuery $query
Expand Down
2 changes: 1 addition & 1 deletion src/Service/ProxyService.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PrestaShop\Module\PsEventbus\Exception\EnvVarException;
use PrestaShop\Module\PsEventbus\Formatter\JsonFormatter;
use PrestaShop\Module\PsEventbus\Handler\ErrorHandler\ErrorHandlerInterface;
use PrestaShop\Module\PsEventbus\Interfaces\ProxyServiceInterface;
use PrestaShop\Module\PsEventbus\Service\ProxyServiceInterface;

class ProxyService implements ProxyServiceInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace PrestaShop\Module\PsEventbus\Interfaces;
namespace PrestaShop\Module\PsEventbus\Service;

interface ProxyServiceInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Service/ShopContent/OrderCartRulesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace PrestaShop\Module\PsEventbus\Service\ShopContent;

use PrestaShop\Module\PsEventbus\Config\Config;
use PrestaShop\Module\PsEventbus\Interfaces\ShopContentServiceInterface;
use PrestaShop\Module\PsEventbus\Service\ShopContent\ShopContentServiceInterface;
use PrestaShop\Module\PsEventbus\Repository\OrderCartRuleRepository;

class OrderCartRulesService implements ShopContentServiceInterface
Expand Down Expand Up @@ -84,7 +84,7 @@ public function countFullSyncContentLeft($offset, $langIso, $debug)
}

/**
* @param array<mixed> $orders
* @param array<mixed> $cartRules
* @param string $langIso
*
* @return void
Expand Down
2 changes: 1 addition & 1 deletion src/Service/ShopContent/OrdersService.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PrestaShop\Module\PsEventbus\Config\Config;
use PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter;
use PrestaShop\Module\PsEventbus\Interfaces\ShopContentServiceInterface;
use PrestaShop\Module\PsEventbus\Service\ShopContent\ShopContentServiceInterface;
use PrestaShop\Module\PsEventbus\Repository\OrderHistoryRepository;
use PrestaShop\Module\PsEventbus\Repository\NewRepositoryTemp\OrderRepository;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace PrestaShop\Module\PsEventbus\Interfaces;
namespace PrestaShop\Module\PsEventbus\Service\ShopContent;

interface ShopContentServiceInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Service/SynchronizationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use PrestaShop\Module\PsEventbus\Config\Config;
use PrestaShop\Module\PsEventbus\Decorator\PayloadDecorator;
use PrestaShop\Module\PsEventbus\Interfaces\ProxyServiceInterface;
use PrestaShop\Module\PsEventbus\Interfaces\ShopContentServiceInterface;
use PrestaShop\Module\PsEventbus\Service\ProxyServiceInterface;
use PrestaShop\Module\PsEventbus\Service\ShopContent\ShopContentServiceInterface;
use PrestaShop\Module\PsEventbus\Repository\ConfigurationRepository;
use PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository;
use PrestaShop\Module\PsEventbus\Repository\IncrementalSyncRepository;
Expand Down

0 comments on commit bffdfde

Please sign in to comment.