Skip to content

TypeError when sending transactional SMS in PHP 8.4 #140

Description

@kyegil

PHP version 8.4.22
getbrevo/brevo-php version 4.0.13

When sending Transactional SMS, the API response causes the following TypeError:
Cannot assign float to property Brevo\TransactionalSms\Types\SendTransacSmsResponse::$messageId
in Brevo\TransactionalSms\Types\SendTransacSmsResponse line 52

The response messageId is wrongly interpreted as float.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions