fix for annotations
This commit is contained in:
parent
c3ae204c32
commit
feb1e4ad0d
@ -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,
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user