| 1 | <?php |
||
| 10 | class ContactListsRequest |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param Mailxpert $mailxpert |
||
| 14 | * @param array $params |
||
| 15 | * |
||
| 16 | * @return \Mailxpert\MailxpertResponse |
||
| 17 | */ |
||
| 18 | public static function get(Mailxpert $mailxpert, array $params = []) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param Mailxpert $mailxpert |
||
| 27 | * @param string $name |
||
| 28 | * |
||
| 29 | * @return \Mailxpert\MailxpertResponse |
||
| 30 | * @throws MailxpertSDKException |
||
| 31 | */ |
||
| 32 | public static function post(Mailxpert $mailxpert, $name) |
||
| 42 | } |
||
| 43 |
In PHP, under loose comparison (like
==, or!=, orswitchconditions), values of different types might be equal.For
stringvalues, the empty string''is a special case, in particular the following results might be unexpected: