@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | /** |
| 66 | 66 | * @param int $seconds |
| 67 | 67 | * |
| 68 | - * @return \Pachico\MinFraudChargeback\Http\CurlClient |
|
| 68 | + * @return CurlClient |
|
| 69 | 69 | */ |
| 70 | 70 | public function setConnectTimeout($seconds) |
| 71 | 71 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | /** |
| 78 | 78 | * @param string $seconds |
| 79 | 79 | * |
| 80 | - * @return \Pachico\MinFraudChargeback\Http\CurlClient |
|
| 80 | + * @return CurlClient |
|
| 81 | 81 | */ |
| 82 | 82 | public function setTimeout($seconds) |
| 83 | 83 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | /** |
| 90 | 90 | * @param string $hostname |
| 91 | 91 | * |
| 92 | - * @return \Pachico\MinFraudChargeback\Http\CurlClient |
|
| 92 | + * @return CurlClient |
|
| 93 | 93 | */ |
| 94 | 94 | public function setHostname($hostname) |
| 95 | 95 | { |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | { |
| 58 | 58 | $this->credential = $credential; |
| 59 | 59 | |
| 60 | - $this->curl = $curl ? : new Curl(); |
|
| 60 | + $this->curl = $curl ?: new Curl(); |
|
| 61 | 61 | |
| 62 | 62 | $this->hostname = static::HOSTNAME_DEFAULT; |
| 63 | 63 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | public function __construct(Credential $credential, ClientInterface $httpClient = null) |
| 36 | 36 | { |
| 37 | 37 | $this->credential = $credential; |
| 38 | - $this->httpClient = $httpClient ? : new CurlClient($credential); |
|
| 38 | + $this->httpClient = $httpClient ?: new CurlClient($credential); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |