Skip to content

Commit dad35ca

Browse files
committed
Updated concatenations to have spaces
1 parent 2f7cf39 commit dad35ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SparkPost/APIResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private function callResource( $action, $resourcePath=null, $options=[] ) {
198198
if ($statusCode === 404) {
199199
throw new APIResponseException('The specified resource does not exist', 404);
200200
}
201-
throw new APIResponseException('Received bad response from '.ucfirst($this->endpoint).' API: '. $statusCode );
201+
throw new APIResponseException('Received bad response from ' . ucfirst($this->endpoint) . ' API: '. $statusCode );
202202
}
203203
}
204204

@@ -210,7 +210,7 @@ private function callResource( $action, $resourcePath=null, $options=[] ) {
210210
throw $exception;
211211
}
212212

213-
throw new APIResponseException('Unable to contact '.ucfirst($this->endpoint).' API: '. $exception->getMessage());
213+
throw new APIResponseException('Unable to contact ' . ucfirst($this->endpoint) . ' API: '. $exception->getMessage());
214214
}
215215
}
216216

0 commit comments

Comments
 (0)