* minor code changes
This commit is contained in:
parent
37c382af4f
commit
f875b915e9
@ -6,6 +6,8 @@ namespace App\Service;
|
|||||||
|
|
||||||
use App\Entity\Sms;
|
use App\Entity\Sms;
|
||||||
use Doctrine\ORM\EntityManager;
|
use Doctrine\ORM\EntityManager;
|
||||||
|
use Doctrine\ORM\OptimisticLockException;
|
||||||
|
use Doctrine\ORM\ORMException;
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use Psr\Http\Message\ResponseInterface;
|
use Psr\Http\Message\ResponseInterface;
|
||||||
use Zend\EventManager\Event;
|
use Zend\EventManager\Event;
|
||||||
@ -63,8 +65,8 @@ class KoinService
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Event $event
|
* @param Event $event
|
||||||
* @throws \Doctrine\ORM\ORMException
|
* @throws ORMException
|
||||||
* @throws \Doctrine\ORM\OptimisticLockException
|
* @throws OptimisticLockException
|
||||||
*/
|
*/
|
||||||
public function onReceiveSmsListener(Event $event)
|
public function onReceiveSmsListener(Event $event)
|
||||||
{
|
{
|
||||||
@ -74,8 +76,8 @@ class KoinService
|
|||||||
/**
|
/**
|
||||||
* @param Sms $sms
|
* @param Sms $sms
|
||||||
* @return int
|
* @return int
|
||||||
* @throws \Doctrine\ORM\ORMException
|
* @throws ORMException
|
||||||
* @throws \Doctrine\ORM\OptimisticLockException
|
* @throws OptimisticLockException
|
||||||
*/
|
*/
|
||||||
public function onReceiveSms(Sms $sms)
|
public function onReceiveSms(Sms $sms)
|
||||||
{
|
{
|
||||||
@ -367,7 +369,7 @@ class KoinService
|
|||||||
/**
|
/**
|
||||||
* @param string $user
|
* @param string $user
|
||||||
* @param string $pass
|
* @param string $pass
|
||||||
* @return \Psr\Http\Message\ResponseInterface
|
* @return ResponseInterface
|
||||||
*/
|
*/
|
||||||
private function login(string $user, string $pass): ResponseInterface
|
private function login(string $user, string $pass): ResponseInterface
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user