@@ -85,6 +85,9 @@ discard block |
||
85 | 85 | return; |
86 | 86 | } |
87 | 87 | |
88 | + /** |
|
89 | + * @param string $key |
|
90 | + */ |
|
88 | 91 | protected function getIfSetDateFmt($key, $fmt, stdClass $data = null) |
89 | 92 | { |
90 | 93 | $val = $this->getIfSet($key, $data); |
@@ -137,7 +140,7 @@ discard block |
||
137 | 140 | * Execute a http request. If payload == null no body will be sent. Empty body ('{}') is supported by sending a |
138 | 141 | * empty stdClass. |
139 | 142 | * |
140 | - * @param $path |
|
143 | + * @param string $path |
|
141 | 144 | * @param $method |
142 | 145 | * @param mixed|null $payload |
143 | 146 | * |
@@ -239,7 +239,7 @@ |
||
239 | 239 | $customer->data->phone = new stdClass(); |
240 | 240 | |
241 | 241 | $phone = $this->getIfSet('phone', $response); |
242 | - $taxDocument = (isset($response->taxDocument)?$response->taxDocument:null) |
|
242 | + $taxDocument = (isset($response->taxDocument) ? $response->taxDocument : null) |
|
243 | 243 | $customer->data->phone->countryCode = $this->getIfSet('countryCode', $phone); |
244 | 244 | $customer->data->phone->areaCode = $this->getIfSet('areaCode', $phone); |
245 | 245 | $customer->data->phone->number = $this->getIfSet('number', $phone); |