diff options
author | beardyman <nornholdj@gmail.com> | 2015-09-30 21:44:52 -0400 |
---|---|---|
committer | beardyman <nornholdj@gmail.com> | 2015-09-30 21:44:52 -0400 |
commit | 97e0d2643db1969e299349968eea1d9c7a951d7f (patch) | |
tree | 609c4ee26facf953a8d56e855303519c3678c66b /lib/SparkPost/SparkPost.php | |
parent | c753d55e2025c3948fe8a59a660a881a429b8df2 (diff) | |
download | php-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.php | 2 |
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; |