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
|
||||
{
|
||||
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
|
||||
@ -18,4 +18,4 @@ trait CommandOutputFormatterTrait
|
||||
{
|
||||
return $this->getMessage('ERROR', $message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,8 +65,7 @@ class UpdateModuleCommand extends Command
|
||||
}
|
||||
|
||||
$accountId = $input->getArgument('accountId')
|
||||
? $input->getArgument('accountId')
|
||||
: null;
|
||||
?: null;
|
||||
|
||||
$accountQueryBuilder = $this->accountManager->getActiveQueryBuilder()
|
||||
->andWhere('account.id > :lastId')
|
||||
|
@ -80,7 +80,7 @@ class RequestCalculate
|
||||
/**
|
||||
* Дата доставки.
|
||||
*
|
||||
* @var DateTime
|
||||
* @var \DateTime
|
||||
*
|
||||
* @Serializer\Groups({"request", "calculate"})
|
||||
* @Serializer\SerializedName("deliveryDate")
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Customer;
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Customer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Manager;
|
||||
|
||||
class RequestSave
|
||||
|
@ -78,7 +78,7 @@ class RequestCalculate
|
||||
/**
|
||||
* Дата отгрузки.
|
||||
*
|
||||
* @var DateTime
|
||||
* @var \DateTime
|
||||
*
|
||||
* @Serializer\Groups({"request", "calculate"})
|
||||
* @Serializer\SerializedName("shipmentDate")
|
||||
@ -89,7 +89,7 @@ class RequestCalculate
|
||||
/**
|
||||
* Дата доставки.
|
||||
*
|
||||
* @var DateTime
|
||||
* @var \DateTime
|
||||
*
|
||||
* @Serializer\Groups({"request", "calculate"})
|
||||
* @Serializer\SerializedName("deliveryDate")
|
||||
@ -130,7 +130,6 @@ class RequestCalculate
|
||||
*/
|
||||
public $extraData;
|
||||
|
||||
|
||||
/**
|
||||
* Склад отгрузки.
|
||||
*
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\DeliveryAddress;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\StatusInfo;
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
class ResponseLoadDeliveryData
|
||||
{
|
||||
|
@ -68,4 +68,4 @@ class StoreWorkTime
|
||||
* @Serializer\Type("array<RetailCrm\DeliveryModuleBundle\Model\StoreWorkTimeItem>")
|
||||
*/
|
||||
public $sunday;
|
||||
}
|
||||
}
|
||||
|
@ -41,4 +41,4 @@ class StoreWorkTimeItem
|
||||
* @Serializer\Type("string")
|
||||
*/
|
||||
public $lunchEndTime;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user