Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.1', '8.2', '8.3']
php-versions: ['7.4', '8.1', '8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v4.2.2
- name: Setup PHP
Expand Down
2 changes: 1 addition & 1 deletion src/GraphClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public static function createWithMiddleware(HandlerStack $handlerStack): Client
* @param callable|null $handler final handler
* @return HandlerStack
*/
public static function getDefaultHandlerStack(callable $handler = null): HandlerStack
public static function getDefaultHandlerStack(?callable $handler = null): HandlerStack
{
$handlerStack = parent::getDefaultHandlerStack();
if ($handler) {
Expand Down
2 changes: 1 addition & 1 deletion src/Requests/BaseBatchRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class BaseBatchRequestBuilder
* @param RequestAdapter $requestAdapter
* @param array<string, array{class-string<T>, string}>|null $errorMappings
*/
public function __construct(RequestAdapter $requestAdapter, array $errorMappings = null)
public function __construct(RequestAdapter $requestAdapter, ?array $errorMappings = null)
{
$this->requestAdapter = $requestAdapter;
$this->errorMappings = $errorMappings;
Expand Down