We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d9f005 commit 10d10d0Copy full SHA for 10d10d0
src/AdminResources/Emails.php
@@ -145,7 +145,7 @@ public function get(array $params = []): array
145
/**
146
* @throws Exception
147
*/
148
- public function find(string $id): MsGraphAdmin
+ public function find(string $id): array
149
{
150
if ($this->userId == null) {
151
throw new Exception('userid is required.');
@@ -154,7 +154,7 @@ public function find(string $id): MsGraphAdmin
154
return MsGraphAdmin::get('users/'.$this->userId.'/messages/'.$id);
155
}
156
157
- public function findAttachments(string $id): MsGraphAdmin
+ public function findAttachments(string $id): array
158
159
return MsGraphAdmin::get('users/'.$this->userId.'/messages/'.$id.'/attachments');
160
0 commit comments