Open
Description
Functions like
public function create($object, array $query = null)
and
public function start($object, $query = null)
seem to produce a warning in PHP8.4
PHP Deprecated: MessageBird\Resources\Conversation\Conversations::create(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead
which can be solved by using Explicitly Nullable Parameter, like
public function create($object, ?array $query = null)
Code to reproduce
<?php
require 'autoload.php';
$clientBird = new \MessageBird\Client('YOUR_ACCESS_KEY');
Metadata
Metadata
Assignees
Labels
No labels