Skip to content

TransactionalSMSApi constructor nullable parameters (PHP 8.4) #66

@sigkoro

Description

@sigkoro

The constructor of TransactionalSMSApi should be fixed the same way you fixed TransactionalEmailApi to be compatible with php 8.4.

public function __construct(
        ?ClientInterface $client = null,
        ?Configuration $config = null,
        ?HeaderSelector $selector = null
    ) {
        $this->client = $client ?: new Client();
        $this->config = $config ?: new Configuration();
        $this->headerSelector = $selector ?: new HeaderSelector();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions