Skip to content

Commit

Permalink
fix docblock (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
aivchen authored Jan 12, 2024
1 parent cbd9bd9 commit 80c49f2
Showing 3 changed files with 4 additions and 12 deletions.
5 changes: 0 additions & 5 deletions src/Manticoresearch/Transport/Http.php
Original file line number Diff line number Diff line change
@@ -21,11 +21,6 @@ class Http extends \Manticoresearch\Transport implements TransportInterface

protected static $curl = null;

/**
* @param Request $request
* @param array $params
* @return Response
*/
public function execute(Request $request, $params = [])
{
$connection = $this->getConnection();
6 changes: 0 additions & 6 deletions src/Manticoresearch/Transport/PhpHttp.php
Original file line number Diff line number Diff line change
@@ -36,12 +36,6 @@ public function __construct(Connection $connection = null, LoggerInterface $logg
parent::__construct($connection, $logger);
}

/**
* @param Request $request
* @param array $params
* @return Response
* @throws \Http\Client\Exception
*/
public function execute(Request $request, $params = [])
{
$connection = $this->getConnection();
5 changes: 4 additions & 1 deletion src/Manticoresearch/Transport/TransportInterface.php
Original file line number Diff line number Diff line change
@@ -4,7 +4,9 @@
namespace Manticoresearch\Transport;

use Manticoresearch\Connection;
use Manticoresearch\Exceptions\ExceptionInterface;
use Manticoresearch\Request;
use Manticoresearch\Response;
use Manticoresearch\Transport;

/**
@@ -16,7 +18,8 @@ interface TransportInterface
/**
* @param Request $request
* @param array $params
* @return mixed
* @return Response
* @throws ExceptionInterface
*/
public function execute(Request $request, $params = []);

0 comments on commit 80c49f2

Please sign in to comment.