Skip to content

Commit 7a60ccb

Browse files
authored
Update FixerIo.php
1 parent fcc773f commit 7a60ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drivers/FixerIo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function apiRequest(string $endpoint, array $params = [], string $method = 'GET'
138138
// Handle response exceptions.
139139
if ($response['success'] == false) {
140140
$message = "[{$response['error']['type']}]";
141-
if (isset($response['error']['info']) {
141+
if (isset($response['error']['info'])) {
142142
$message .= ' ' . $response['error']['info'];
143143
}
144144
throw new ApiException($message, $response['error']['code']);

0 commit comments

Comments
 (0)