| 1 | <?php |
||
| 15 | class CustomFieldsChoicesRequest |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @param Mailxpert $mailxpert |
||
| 19 | * @param string $customFieldId |
||
| 20 | * @param array $params |
||
| 21 | * |
||
| 22 | * @return \Mailxpert\MailxpertResponse |
||
| 23 | */ |
||
| 24 | public static function get(Mailxpert $mailxpert, $customFieldId, array $params = []) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param Mailxpert $mailxpert |
||
| 33 | * @param string $customFieldId |
||
| 34 | * @param array $params |
||
| 35 | * |
||
| 36 | * @return \Mailxpert\MailxpertResponse |
||
| 37 | * @throws MailxpertSDKException |
||
| 38 | */ |
||
| 39 | public static function post(Mailxpert $mailxpert, $customFieldId, array $params) |
||
| 49 | } |
||
| 50 |
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: