1
0
mirror of synced 2025-01-24 17:21:43 +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
{
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);
}
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -68,4 +68,4 @@ class StoreWorkTime
* @Serializer\Type("array<RetailCrm\DeliveryModuleBundle\Model\StoreWorkTimeItem>")
*/
public $sunday;
}
}

View File

@ -41,4 +41,4 @@ class StoreWorkTimeItem
* @Serializer\Type("string")
*/
public $lunchEndTime;
}
}