mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-18 10:38:40 +00:00
Automated formatting changes
This commit is contained in:
parent
1fcd3a75f6
commit
715d53ac61
|
|
@ -14,12 +14,12 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Exchange\Controller;
|
namespace Modules\Exchange\Controller;
|
||||||
|
|
||||||
|
use Modules\Exchange\Models\ExchangeLogMapper;
|
||||||
use Modules\Exchange\Models\InterfaceManagerMapper;
|
use Modules\Exchange\Models\InterfaceManagerMapper;
|
||||||
use phpOMS\Contract\RenderableInterface;
|
use phpOMS\Contract\RenderableInterface;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
use Modules\Exchange\Models\ExchangeLogMapper;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exchange controller class.
|
* Exchange controller class.
|
||||||
|
|
|
||||||
|
|
@ -16,16 +16,9 @@ namespace Modules\Exchange\Interfaces\OMS;
|
||||||
|
|
||||||
use Modules\Exchange\Models\ExchangeLog;
|
use Modules\Exchange\Models\ExchangeLog;
|
||||||
use Modules\Exchange\Models\ExchangeType;
|
use Modules\Exchange\Models\ExchangeType;
|
||||||
use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
|
|
||||||
use phpOMS\DataStorage\Database\Connection\ConnectionFactory;
|
|
||||||
use phpOMS\DataStorage\Database\DatabaseStatus;
|
|
||||||
use phpOMS\DataStorage\Database\DataMapperAbstract;
|
|
||||||
use phpOMS\Localization\ISO3166TwoEnum;
|
|
||||||
use phpOMS\Localization\ISO639x1Enum;
|
|
||||||
use phpOMS\Message\RequestAbstract;
|
|
||||||
use phpOMS\System\File\Local\Directory;
|
|
||||||
use phpOMS\Utils\IO\Zip\Zip;
|
|
||||||
use Modules\Exchange\Models\ExporterAbstract;
|
use Modules\Exchange\Models\ExporterAbstract;
|
||||||
|
use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
|
||||||
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Utils\StringUtils;
|
use phpOMS\Utils\StringUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -204,7 +197,7 @@ final class Exporter extends ExporterAbstract
|
||||||
return [
|
return [
|
||||||
'type' => 'file',
|
'type' => 'file',
|
||||||
'name' => 'languages.csv',
|
'name' => 'languages.csv',
|
||||||
'content' => $content
|
'content' => $content,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,19 +15,14 @@ declare(strict_types=1);
|
||||||
namespace Modules\Exchange\Interfaces\OMS;
|
namespace Modules\Exchange\Interfaces\OMS;
|
||||||
|
|
||||||
use Modules\Exchange\Models\ExchangeLog;
|
use Modules\Exchange\Models\ExchangeLog;
|
||||||
|
use Modules\Exchange\Models\ExchangeType;
|
||||||
|
use Modules\Exchange\Models\ImporterAbstract;
|
||||||
|
use Modules\Media\Controller\ApiController;
|
||||||
use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
|
use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
|
||||||
use phpOMS\DataStorage\Database\Connection\ConnectionFactory;
|
use phpOMS\DataStorage\Database\Connection\ConnectionFactory;
|
||||||
use phpOMS\DataStorage\Database\DatabaseStatus;
|
use phpOMS\DataStorage\Database\DatabaseStatus;
|
||||||
use phpOMS\DataStorage\Database\DataMapperAbstract;
|
|
||||||
use phpOMS\Localization\ISO3166TwoEnum;
|
|
||||||
use phpOMS\Localization\ISO639x1Enum;
|
|
||||||
use phpOMS\Message\RequestAbstract;
|
|
||||||
use phpOMS\System\File\Local\Directory;
|
|
||||||
use phpOMS\Utils\IO\Zip\Zip;
|
|
||||||
use Modules\Media\Controller\ApiController;
|
|
||||||
use Modules\Exchange\Models\ImporterAbstract;
|
|
||||||
use phpOMS\Message\Http\HttpRequest;
|
use phpOMS\Message\Http\HttpRequest;
|
||||||
use Modules\Exchange\Models\ExchangeType;
|
use phpOMS\Message\RequestAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OMS import class
|
* OMS import class
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
$lang = $this->getData('lang');
|
$lang = $this->getData('lang');
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
$lang = $this->getData('lang');
|
$lang = $this->getData('lang');
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,9 @@ class ExchangeLog implements \JsonSerializable, ArrayableInterface
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public int|InterfaceManager $exchange = 0;
|
public int |
|
||||||
|
|
||||||
|
InterfaceManager $exchange = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Date type.
|
* Date type.
|
||||||
|
|
@ -77,7 +79,9 @@ class ExchangeLog implements \JsonSerializable, ArrayableInterface
|
||||||
*/
|
*/
|
||||||
public \DateTimeImmutable $createdAt;
|
public \DateTimeImmutable $createdAt;
|
||||||
|
|
||||||
public int|Account $createdBy = 0;
|
public int |
|
||||||
|
|
||||||
|
Account $createdBy = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Exchange\Models;
|
namespace Modules\Exchange\Models;
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\DataMapperAbstract;
|
|
||||||
use Modules\Admin\Models\AccountMapper;
|
use Modules\Admin\Models\AccountMapper;
|
||||||
|
use phpOMS\DataStorage\Database\DataMapperAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exchange log mapper class.
|
* Exchange log mapper class.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user