|
@@ 102-104 (lines=3) @@
|
| 99 |
|
|
| 100 |
|
$records = $this->get('/templates/thumbnails', $query); |
| 101 |
|
|
| 102 |
|
if (is_array($records) && count($records) > 0) { |
| 103 |
|
$ret = array_map('base64_decode', $records); |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
return $ret; |
| 107 |
|
} |
|
@@ 438-440 (lines=3) @@
|
| 435 |
|
|
| 436 |
|
if ($response instanceof Response && 200 === $response->getStatusCode()) { |
| 437 |
|
$body = json_decode($response->getBody(), true); |
| 438 |
|
if (is_array($body) && count($body) > 0) { |
| 439 |
|
$ret = array_map('base64_decode', $body); |
| 440 |
|
} |
| 441 |
|
} |
| 442 |
|
|
| 443 |
|
return $ret; |