diff options
author | beardyman <nornholdj@gmail.com> | 2015-10-14 10:33:36 -0400 |
---|---|---|
committer | beardyman <nornholdj@gmail.com> | 2015-10-14 10:33:36 -0400 |
commit | 47d840576d7e4c29fc4ae359f5f1adff6ffbc751 (patch) | |
tree | da7b19f0982299b24425925e56084e379ce30c69 | |
parent | 0be23bb4dd085692df0942dcf0961fbd1857bd60 (diff) | |
download | php-sparkpost-47d840576d7e4c29fc4ae359f5f1adff6ffbc751.zip php-sparkpost-47d840576d7e4c29fc4ae359f5f1adff6ffbc751.tar.gz php-sparkpost-47d840576d7e4c29fc4ae359f5f1adff6ffbc751.tar.bz2 |
Changed gettype() to is_string()
-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 2a554dd..3c75803 100644 --- a/lib/SparkPost/SparkPost.php +++ b/lib/SparkPost/SparkPost.php @@ -116,7 +116,7 @@ class SparkPost { */ public function setConfig($settingsConfig) { // if the config map is a string we should assume that its an api key - if (gettype($settingsConfig) === 'string') { + if (is_string($settingsConfig)) { $settingsConfig = ['key'=>$settingsConfig]; } |