You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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');
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: