Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
stability: [ prefer-stable ]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
Expand Down
2 changes: 1 addition & 1 deletion src/MessageBird/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class Client
*/
protected $numbersAPIClient;

public function __construct(?string $accessKey = null, Common\HttpClient $httpClient = null, array $config = [])
public function __construct(?string $accessKey = null, ?Common\HttpClient $httpClient = null, array $config = [])
{
if ($httpClient === null) {
$this->conversationsAPIHttpClient = new Common\HttpClient(
Expand Down
Loading