summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Nornhold <therealbeardyman@gmail.com>2016-02-25 16:09:50 -0500
committerJordan Nornhold <therealbeardyman@gmail.com>2016-02-25 16:09:50 -0500
commitdad35ca70de8bbcdbd3a53e3deb761f961221dea (patch)
tree4ddee2354983175856a2a778314b1741aeb3e47e
parent2f7cf39694e025c696aeb3e13eb4dc2664eb7e6b (diff)
downloadphp-sparkpost-dad35ca70de8bbcdbd3a53e3deb761f961221dea.zip
php-sparkpost-dad35ca70de8bbcdbd3a53e3deb761f961221dea.tar.gz
php-sparkpost-dad35ca70de8bbcdbd3a53e3deb761f961221dea.tar.bz2
Updated concatenations to have spaces
-rw-r--r--lib/SparkPost/APIResource.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SparkPost/APIResource.php b/lib/SparkPost/APIResource.php
index e946c0f..563a56e 100644
--- a/lib/SparkPost/APIResource.php
+++ b/lib/SparkPost/APIResource.php
@@ -198,7 +198,7 @@ class APIResource {
if ($statusCode === 404) {
throw new APIResponseException('The specified resource does not exist', 404);
}
- throw new APIResponseException('Received bad response from '.ucfirst($this->endpoint).' API: '. $statusCode );
+ throw new APIResponseException('Received bad response from ' . ucfirst($this->endpoint) . ' API: '. $statusCode );
}
}
@@ -210,7 +210,7 @@ class APIResource {
throw $exception;
}
- throw new APIResponseException('Unable to contact '.ucfirst($this->endpoint).' API: '. $exception->getMessage());
+ throw new APIResponseException('Unable to contact ' . ucfirst($this->endpoint) . ' API: '. $exception->getMessage());
}
}