in src/Filter/ApiFilter.php [189:206]
public static function format($format)
{
if (!is_string($format)) {
throw new ClientException(
'Format must be a string',
SDK::INVALID_ARGUMENT
);
}
if ($format === '') {
throw new ClientException(
'Format cannot be empty',
SDK::INVALID_ARGUMENT
);
}
return \strtoupper($format);
}