Conditions | 3 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | public function build($uri = null, array $queries = null, array $headers = null, array $postBody = null, $body = null, array $options = []) |
||
8 | { |
||
9 | parent::build($uri, $queries, $headers, $postBody, $body, $options); |
||
10 | |||
11 | $resource = $queries ? sprintf('%s?%s', $uri, $this->formatQueryString($queries)) : $uri; |
||
12 | $postBody = $postBody ?: $body; |
||
13 | |||
14 | return $this->getClient()->post($resource, $headers, $postBody, $options); |
||
15 | } |
||
17 |