Skip to content

Commit 20f04c1

Browse files
authored
Merge pull request #225 from RV7PR/patch-1
Fix PHP 8.4 deprecation
2 parents 47e7652 + dc1a944 commit 20f04c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MessageBird/Resources/Conversation/Conversations.php

Lines changed: 1 addition & 1 deletion
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)