in src/Filter/HttpFilter.php [73:90]
public static function body($body)
{
if (!is_string($body) && !is_numeric($body)) {
throw new ClientException(
'Body must be a string or int',
SDK::INVALID_ARGUMENT
);
}
if ($body === '') {
throw new ClientException(
'Body cannot be empty',
SDK::INVALID_ARGUMENT
);
}
return $body;
}