1
0
mirror of synced 2025-01-26 10:11:41 +03:00

fix cs-fixer

This commit is contained in:
Ruslan Efanov 2022-08-01 12:56:48 +03:00
parent d75e5ed3e1
commit f26ce4c10c
8 changed files with 10 additions and 12 deletions

View File

@ -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

View File

@ -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')

View File

@ -80,7 +80,7 @@ class RequestCalculate
/** /**
* Дата доставки. * Дата доставки.
* *
* @var DateTime * @var \DateTime
* *
* @Serializer\Groups({"request", "calculate"}) * @Serializer\Groups({"request", "calculate"})
* @Serializer\SerializedName("deliveryDate") * @Serializer\SerializedName("deliveryDate")

View File

@ -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

View File

@ -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;
/** /**
* Склад отгрузки. * Склад отгрузки.
* *

View File

@ -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
{ {