Skip to content

Commit

Permalink
fixed minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jan 22, 2017
1 parent f8fd255 commit 7340b9c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/AbstractQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function build(Query $query)

public function createRequest($query)
{
return new Request($this, $query);
return new $this->db->requestClass($this, $query);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/curl/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use hiqdev\hiart\AbstractResponse;

/**
* Guzzle response implementation.
* cURL response implementation.
*
* @author Andrii Vasyliev <[email protected]>
*/
Expand Down
4 changes: 3 additions & 1 deletion src/rest/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

namespace hiqdev\hiart\rest;

class QueryBuilder extends AbstractQueryBuilder
use hiqdev\hiart\Query;

class QueryBuilder extends \hiqdev\hiart\AbstractQueryBuilder
{
/**
* This function is for you to provide your authentication.
Expand Down

0 comments on commit 7340b9c

Please sign in to comment.