diff --git a/src/Esendex/Http/HttpClient.php b/src/Esendex/Http/HttpClient.php index c8a47b6..26c20e8 100644 --- a/src/Esendex/Http/HttpClient.php +++ b/src/Esendex/Http/HttpClient.php @@ -127,7 +127,7 @@ private function request($url, $authentication, $method, $data = null, $contentT if (strlen($data) == 0) { $httpHeaders[] = 'Content-Length: 0'; } - $httpHeaders[] = "Content-Type: ${contentType}; charset=utf-8"; + $httpHeaders[] = "Content-Type: {$contentType}; charset=utf-8"; } \curl_setopt($curlHandle, CURLOPT_HTTPHEADER, $httpHeaders); diff --git a/src/autoload.php b/src/autoload.php index 8fb9d73..89bf782 100644 --- a/src/autoload.php +++ b/src/autoload.php @@ -36,7 +36,7 @@ define('ESENDEX_HOME', dirname(__FILE__)); -class AutoLoader +class AutoLoad { const SPLIT_DIR = DIRECTORY_SEPARATOR; const SPLIT_NS = '\\'; @@ -55,4 +55,4 @@ public static function load($class) } } -\spl_autoload_register(array('\Esendex\AutoLoader', 'load')); +\spl_autoload_register(array('\Esendex\AutoLoad', 'load'));