fix cs-fixer
This commit is contained in:
parent
d75e5ed3e1
commit
f26ce4c10c
@ -6,7 +6,7 @@ trait CommandOutputFormatterTrait
|
|||||||
{
|
{
|
||||||
public function getMessage(string $level, string $message): string
|
public function getMessage(string $level, string $message): string
|
||||||
{
|
{
|
||||||
return sprintf("%s %s %s", date('Y-m-d H:i:s'), strtoupper($level), $message);
|
return sprintf('%s %s %s', date('Y-m-d H:i:s'), strtoupper($level), $message);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getInfoMessage(string $message): string
|
public function getInfoMessage(string $message): string
|
||||||
|
@ -65,8 +65,7 @@ class UpdateModuleCommand extends Command
|
|||||||
}
|
}
|
||||||
|
|
||||||
$accountId = $input->getArgument('accountId')
|
$accountId = $input->getArgument('accountId')
|
||||||
? $input->getArgument('accountId')
|
?: null;
|
||||||
: null;
|
|
||||||
|
|
||||||
$accountQueryBuilder = $this->accountManager->getActiveQueryBuilder()
|
$accountQueryBuilder = $this->accountManager->getActiveQueryBuilder()
|
||||||
->andWhere('account.id > :lastId')
|
->andWhere('account.id > :lastId')
|
||||||
|
@ -80,7 +80,7 @@ class RequestCalculate
|
|||||||
/**
|
/**
|
||||||
* Дата доставки.
|
* Дата доставки.
|
||||||
*
|
*
|
||||||
* @var DateTime
|
* @var \DateTime
|
||||||
*
|
*
|
||||||
* @Serializer\Groups({"request", "calculate"})
|
* @Serializer\Groups({"request", "calculate"})
|
||||||
* @Serializer\SerializedName("deliveryDate")
|
* @Serializer\SerializedName("deliveryDate")
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||||
|
|
||||||
use RetailCrm\DeliveryModuleBundle\Model\Customer;
|
|
||||||
use JMS\Serializer\Annotation as Serializer;
|
use JMS\Serializer\Annotation as Serializer;
|
||||||
|
use RetailCrm\DeliveryModuleBundle\Model\Customer;
|
||||||
use RetailCrm\DeliveryModuleBundle\Model\Manager;
|
use RetailCrm\DeliveryModuleBundle\Model\Manager;
|
||||||
|
|
||||||
class RequestSave
|
class RequestSave
|
||||||
|
@ -78,7 +78,7 @@ class RequestCalculate
|
|||||||
/**
|
/**
|
||||||
* Дата отгрузки.
|
* Дата отгрузки.
|
||||||
*
|
*
|
||||||
* @var DateTime
|
* @var \DateTime
|
||||||
*
|
*
|
||||||
* @Serializer\Groups({"request", "calculate"})
|
* @Serializer\Groups({"request", "calculate"})
|
||||||
* @Serializer\SerializedName("shipmentDate")
|
* @Serializer\SerializedName("shipmentDate")
|
||||||
@ -89,7 +89,7 @@ class RequestCalculate
|
|||||||
/**
|
/**
|
||||||
* Дата доставки.
|
* Дата доставки.
|
||||||
*
|
*
|
||||||
* @var DateTime
|
* @var \DateTime
|
||||||
*
|
*
|
||||||
* @Serializer\Groups({"request", "calculate"})
|
* @Serializer\Groups({"request", "calculate"})
|
||||||
* @Serializer\SerializedName("deliveryDate")
|
* @Serializer\SerializedName("deliveryDate")
|
||||||
@ -130,7 +130,6 @@ class RequestCalculate
|
|||||||
*/
|
*/
|
||||||
public $extraData;
|
public $extraData;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Склад отгрузки.
|
* Склад отгрузки.
|
||||||
*
|
*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||||
|
|
||||||
|
use JMS\Serializer\Annotation as Serializer;
|
||||||
use RetailCrm\DeliveryModuleBundle\Model\DeliveryAddress;
|
use RetailCrm\DeliveryModuleBundle\Model\DeliveryAddress;
|
||||||
use RetailCrm\DeliveryModuleBundle\Model\StatusInfo;
|
use RetailCrm\DeliveryModuleBundle\Model\StatusInfo;
|
||||||
use JMS\Serializer\Annotation as Serializer;
|
|
||||||
|
|
||||||
class ResponseLoadDeliveryData
|
class ResponseLoadDeliveryData
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user