Skip to content

Commit a8b6dc3

Browse files
authored
bugfix: Return type for retrieving list of emails
This should hopefully fix an issue with the expected return type when using the MsGraph::emails()->get() method
1 parent bc4e26a commit a8b6dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/Emails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function skip(string $skip): static
109109
/**
110110
* @throws Exception
111111
*/
112-
public function get(string $folderId = '', array $params = []): MsGraph
112+
public function get(string $folderId = '', array $params = []): array
113113
{
114114
$top = request('top', $this->top);
115115
$skip = request('skip', $this->skip);

0 commit comments

Comments
 (0)