1
0
mirror of synced 2024-11-22 04:46:02 +03:00

fix for annotations

This commit is contained in:
Pavel 2020-09-29 15:19:44 +03:00
parent c3ae204c32
commit feb1e4ad0d
3 changed files with 4 additions and 2 deletions

View File

@ -34,6 +34,8 @@ interface RequestFactoryInterface
* @param \RetailCrm\Interfaces\AuthenticatorInterface $authenticator
*
* @return RequestInterface
* @throws \RetailCrm\Component\Exception\FactoryException
* @throws \RetailCrm\Component\Exception\ValidationException
*/
public function fromModel(
BaseRequest $request,

View File

@ -142,6 +142,7 @@ class Client
* @return void
* @throws \Psr\Http\Client\ClientExceptionInterface
* @throws \RetailCrm\Component\Exception\ValidationException
* @throws \RetailCrm\Component\Exception\FactoryException
*/
public function sendRequest(BaseRequest $request)
{

View File

@ -15,7 +15,6 @@ namespace RetailCrm\Tests\TopClient;
use RetailCrm\Builder\ClientBuilder;
use RetailCrm\Component\AppData;
use RetailCrm\Component\Authenticator\TokenAuthenticator;
use RetailCrm\Component\Exception\ValidationException;
use RetailCrm\Model\Request\HttpDnsGetRequest;
use RetailCrm\Test\TestCase;
@ -34,7 +33,7 @@ class ClientTest extends TestCase
public function testClientRequest()
{
self::markTestSkipped('Not implemented yet');
$client = ClientBuilder::create()
->setContainer($this->getContainer())
->setAppData(new AppData(AppData::OVERSEAS_ENDPOINT, 'appKey', 'appSecret'))