diff --git a/src/FusionDirectory/Rest/WebServiceCall.php b/src/FusionDirectory/Rest/WebServiceCall.php index 0c478d31c53283217e6bf51b5e3ae75dccfcb444..dcd6d512147bf821224cf84e2cd1ba636562e261 100644 --- a/src/FusionDirectory/Rest/WebServiceCall.php +++ b/src/FusionDirectory/Rest/WebServiceCall.php @@ -34,8 +34,8 @@ class WebServiceCall $this->ch = !empty($URL) ? curl_init($URL) : curl_init($this->URL); // We require to set a proper http_agent - $os = PHP_OS; - $phpVersion = PHP_VERSION; + $os = PHP_OS; + $phpVersion = PHP_VERSION; $customUserAgent = "FusionDirectory/Integrator ($os; PHP $phpVersion; https://www.fusiondirectory.org) WebserviceLib"; // Manage a trick to perform refresh on user DN @@ -48,7 +48,7 @@ class WebServiceCall if (!empty($method)) { $this->method = $method; - + // set the curl options based on the method required. switch (strtolower($this->method)) { case 'patch' : @@ -113,8 +113,8 @@ class WebServiceCall $ch = curl_init($this->URL); // We require to set a proper http_agent - $os = PHP_OS; - $phpVersion = PHP_VERSION; + $os = PHP_OS; + $phpVersion = PHP_VERSION; $customUserAgent = "FusionDirectory/Integrator ($os; PHP $phpVersion; https://www.fusiondirectory.org) WebserviceLib"; curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);