From f1c473a5fcaf41e32b9ca89b0dcb0e1821f074cd Mon Sep 17 00:00:00 2001 From: David Carr Date: Thu, 14 Nov 2024 03:00:56 +0000 Subject: [PATCH] fixes AdminMsGraph to allow $data to be null --- src/MsGraphAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MsGraphAdmin.php b/src/MsGraphAdmin.php index 2fd8b23..f13220c 100644 --- a/src/MsGraphAdmin.php +++ b/src/MsGraphAdmin.php @@ -170,7 +170,7 @@ protected function isJson(string $data): bool /** * @throws Exception */ - protected function guzzle(string $type, string $request, array $data = []): mixed + protected function guzzle(string $type, string $request, ?array $data = []): mixed { try { $client = new Client;