@@ -66,6 +66,11 @@ discard block |
||
| 66 | 66 | return constant(ExchangeWebServices::class . "::$constant"); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $email |
|
| 71 | + * @param string $password |
|
| 72 | + * @param string $username |
|
| 73 | + */ |
|
| 69 | 74 | protected function newAPI($email, $password, $username = null, $options = []) |
| 70 | 75 | { |
| 71 | 76 | $options = array_replace_recursive([ |
@@ -123,7 +128,7 @@ discard block |
||
| 123 | 128 | * @param string $email |
| 124 | 129 | * @param string $password |
| 125 | 130 | * @param string $username If left blank, the email provided will be used. |
| 126 | - * @return mixed |
|
| 131 | + * @return |
|
| 127 | 132 | */ |
| 128 | 133 | public static function getAPI($email, $password, $username = null, $options = []) |
| 129 | 134 | { |
@@ -337,8 +342,8 @@ discard block |
||
| 337 | 342 | /** |
| 338 | 343 | * Get a top level domain based on an email address |
| 339 | 344 | * |
| 340 | - * @param $email |
|
| 341 | - * @return bool|string |
|
| 345 | + * @param string $email |
|
| 346 | + * @return string|false |
|
| 342 | 347 | */ |
| 343 | 348 | protected function getTopLevelDomainFromEmail($email) |
| 344 | 349 | { |