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