summaryrefslogtreecommitdiffstats
path: root/lib/SparkPost/SparkPost.php
diff options
context:
space:
mode:
authorbeardyman <nornholdj@gmail.com>2015-09-30 21:44:52 -0400
committerbeardyman <nornholdj@gmail.com>2015-09-30 21:44:52 -0400
commit97e0d2643db1969e299349968eea1d9c7a951d7f (patch)
tree609c4ee26facf953a8d56e855303519c3678c66b /lib/SparkPost/SparkPost.php
parentc753d55e2025c3948fe8a59a660a881a429b8df2 (diff)
downloadphp-sparkpost-97e0d2643db1969e299349968eea1d9c7a951d7f.zip
php-sparkpost-97e0d2643db1969e299349968eea1d9c7a951d7f.tar.gz
php-sparkpost-97e0d2643db1969e299349968eea1d9c7a951d7f.tar.bz2
Updated tests for new structure
Diffstat (limited to 'lib/SparkPost/SparkPost.php')
-rw-r--r--lib/SparkPost/SparkPost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SparkPost/SparkPost.php b/lib/SparkPost/SparkPost.php
index aac352b..83200c0 100644
--- a/lib/SparkPost/SparkPost.php
+++ b/lib/SparkPost/SparkPost.php
@@ -52,7 +52,7 @@ class SparkPost {
* The new resource is attached to this object as well as returned
* @return SparkPost\APIResource - the unwrapped resource
*/
- public function setupUnwrapped (string $endpoint) {
+ public function setupUnwrapped ($endpoint) {
$this->{$endpoint} = new APIResource($this);
$this->{$endpoint}->endpoint = $endpoint;