| @@ -323,7 +323,7 @@ discard block | ||
| 323 | 323 | * Get the server address (IP or hostname) | 
| 324 | 324 | * | 
| 325 | 325 | * @param void | 
| 326 | - * @return string|bool | |
| 326 | + * @return string|null | |
| 327 | 327 | * @sice GIT 0.1.0 | 
| 328 | 328 | * @version GIT: 0.1.0 | 
| 329 | 329 | * @see setIPAServer() | 
| @@ -360,7 +360,7 @@ discard block | ||
| 360 | 360 | /** | 
| 361 | 361 | * Get the full path of certificate file | 
| 362 | 362 | * | 
| 363 | - * @return string|bool | |
| 363 | + * @return string|null | |
| 364 | 364 | * @sice GIT 0.1.0 | 
| 365 | 365 | * @version GIT: 0.1.0 | 
| 366 | 366 | * @see setCertificateFile() | 
| @@ -388,7 +388,7 @@ discard block | ||
| 388 | 388 | * Get the string returned by cURL | 
| 389 | 389 | * | 
| 390 | 390 | * @param void | 
| 391 | - * @return string|bool | |
| 391 | + * @return string|null | |
| 392 | 392 | * @sice GIT 0.1.0 | 
| 393 | 393 | * @version GIT: 0.1.0 | 
| 394 | 394 | * @see setCurlReturn() | 
| @@ -429,7 +429,7 @@ discard block | ||
| 429 | 429 | * Get the cURL handler with options already defined | 
| 430 | 430 | * | 
| 431 | 431 | * @param bool $force force cURL to be initiated again | 
| 432 | - * @return mixed cURL handler | |
| 432 | + * @return boolean cURL handler | |
| 433 | 433 | * @sice GIT 0.1.0 | 
| 434 | 434 | * @version GIT: 0.1.0 | 
| 435 | 435 | * @see endCurl() | 
| @@ -785,7 +785,7 @@ discard block | ||
| 785 | 785 | * @param string $method required parameter that defines the method that will be executed in the server | 
| 786 | 786 | * @param array $args arguments for the method | 
| 787 | 787 | * @param array $options options for the method | 
| 788 | - * @return string|bool returns false if there is error in passed parameters | |
| 788 | + * @return false|string returns false if there is error in passed parameters | |
| 789 | 789 | * @sice GIT 0.1.0 | 
| 790 | 790 | * @version GIT: 0.1.0 | 
| 791 | 791 | * @link http://php.net/manual/en/function.json-encode.php | 
| @@ -189,8 +189,7 @@ | ||
| 189 | 189 | |
| 190 | 190 |          if ( ! empty($server) && ! $this->setIPAServer($server) ) { | 
| 191 | 191 |              throw new \Exception("Error while validating the server"); | 
| 192 | - } | |
| 193 | -        else if ( ! empty($certificate) && ! $this->setCertificateFile($certificate) ) { | |
| 192 | +        } else if ( ! empty($certificate) && ! $this->setCertificateFile($certificate) ) { | |
| 194 | 193 |              throw new \Exception("Error while validating the certificate"); | 
| 195 | 194 | } | 
| 196 | 195 | |