Skip to content

Commit dc1a944

Browse files
authored
Fix PHP 8.4 deprecation
1 parent 47e7652 commit dc1a944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MessageBird/Resources/Conversation/Conversations.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private function getStartUrl(): string
7070
* @throws Exceptions\RequestException
7171
* @throws Exceptions\ServerException
7272
*/
73-
public function create($object, array $query = null)
73+
public function create($object, ?array $query = null)
7474
{
7575
$body = json_encode(['contactId' => $object], \JSON_THROW_ON_ERROR);
7676

0 commit comments

Comments
 (0)