diff options
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; |