1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

codestyle fix

This commit is contained in:
Sergey Chazov 2020-09-30 15:52:13 +03:00
parent 52d53f1194
commit 6ab7748781
5 changed files with 8 additions and 39 deletions

View file

@ -57,4 +57,4 @@ class LoyaltyCalculation
* @Mapping\SerializedName("total")
*/
public $total;
}
}

View file

@ -87,4 +87,4 @@ class OrderProduct
* @Mapping\SerializedName("quantity")
*/
public $quantity;
}
}

View file

@ -31,7 +31,7 @@ class SmsVerificationStatusResponse extends SmsVerificationConfirmResponse
* @Mapping\Type("boolean")
* @Mapping\SerializedName("success")
*/
private $success;
public $success;
/**
* @var \Intaro\RetailCrm\Model\Api\SmsVerification
@ -39,37 +39,5 @@ class SmsVerificationStatusResponse extends SmsVerificationConfirmResponse
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SmsVerification")
* @Mapping\SerializedName("verification")
*/
private $verification;
/**
* @return \Intaro\RetailCrm\Model\Api\SmsVerification
*/
public function getVerification(): SmsVerification
{
return $this->verification;
}
/**
* @param \Intaro\RetailCrm\Model\Api\SmsVerification $verification
*/
public function setVerification(SmsVerification $verification): void
{
$this->verification = $verification;
}
/**
* @return bool
*/
public function isSuccess(): bool
{
return $this->success;
}
/**
* @param bool $success
*/
public function setSuccess(bool $success): void
{
$this->success = $success;
}
public $verification;
}

View file

@ -33,4 +33,4 @@ class SerializedOrderReference
* @Mapping\SerializedName("bonuses")
*/
public $bonuses;
}
}

View file

@ -23,13 +23,14 @@ use Intaro\RetailCrm\Repository\UserRepository;
*/
class UserAccountService
{
/**
* @var \Intaro\RetailCrm\Component\ApiClient\ClientAdapter
*/
private $client;
/**
* UserAccountService constructor.
*/
public function __construct()
{
$this->client = ClientFactory::createClientAdapter();