@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * |
75 | 75 | * @param Type\FolderIdType |
76 | 76 | * @param array $options |
77 | - * @return Type\MessageType[] |
|
77 | + * @return Type |
|
78 | 78 | */ |
79 | 79 | public function getMailItems($folderId = null, $options = array()) |
80 | 80 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * @param Type\FolderIdType $folderId |
107 | 107 | * @param array $options |
108 | - * @return Type\MessageType[] |
|
108 | + * @return Type |
|
109 | 109 | */ |
110 | 110 | public function getUnreadMailItems($folderId = null, $options = array()) |
111 | 111 | { |
@@ -100,10 +100,10 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * Get a list of calendar items between two dates/times |
102 | 102 | * |
103 | - * @param string|DateTime $start |
|
104 | - * @param string|DateTime $end |
|
103 | + * @param string $start |
|
104 | + * @param string $end |
|
105 | 105 | * @param array $options |
106 | - * @return CalendarItemType[]|Type\FindItemParentType |
|
106 | + * @return Type |
|
107 | 107 | */ |
108 | 108 | public function getCalendarItems($start = '12:00 AM', $end = '11:59 PM', $options = array()) |
109 | 109 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * @param $id |
144 | 144 | * @param $changeKey |
145 | - * @return Type\CalendarItemType |
|
145 | + * @return Type |
|
146 | 146 | */ |
147 | 147 | public function getCalendarItem($id, $changeKey) |
148 | 148 | { |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | * |
211 | 211 | * @param null $syncState |
212 | 212 | * @param array $options |
213 | - * @return API\Message\SyncFolderItemsResponseMessageType |
|
213 | + * @return Type |
|
214 | 214 | */ |
215 | 215 | public function listChanges($syncState = null, $options = array()) |
216 | 216 | { |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * @param Type\FolderIdType $folderId |
37 | 37 | * @param array $options |
38 | - * @return Type\ContactItemType[] |
|
38 | + * @return Type |
|
39 | 39 | */ |
40 | 40 | public function getContacts($folderId = null, $options = array()) |
41 | 41 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | /** |
64 | 64 | * @param Type\ItemIdType $itemId |
65 | - * @return Type\ContactItemType |
|
65 | + * @return Type |
|
66 | 66 | */ |
67 | 67 | public function getContact($itemId) |
68 | 68 | { |
@@ -164,6 +164,10 @@ discard block |
||
164 | 164 | )); |
165 | 165 | } |
166 | 166 | |
167 | + /** |
|
168 | + * @param string $username |
|
169 | + * @param string $password |
|
170 | + */ |
|
167 | 171 | public static function withUsernameAndPassword($server, $username, $password, $options = []) |
168 | 172 | { |
169 | 173 | return new static(ExchangeWebServices::fromUsernameAndPassword( |
@@ -347,7 +351,7 @@ discard block |
||
347 | 351 | |
348 | 352 | /** |
349 | 353 | * @param $identifier |
350 | - * @return Type\BaseFolderType |
|
354 | + * @return Type |
|
351 | 355 | */ |
352 | 356 | public function getFolder($identifier) |
353 | 357 | { |
@@ -368,7 +372,7 @@ discard block |
||
368 | 372 | * Get a folder by it's distinguishedId |
369 | 373 | * |
370 | 374 | * @param string $distinguishedId |
371 | - * @return Type\BaseFolderType |
|
375 | + * @return Type |
|
372 | 376 | */ |
373 | 377 | public function getFolderByDistinguishedId($distinguishedId) |
374 | 378 | { |
@@ -382,7 +386,7 @@ discard block |
||
382 | 386 | |
383 | 387 | /** |
384 | 388 | * @param $folderId |
385 | - * @return Type\BaseFolderType |
|
389 | + * @return Type |
|
386 | 390 | */ |
387 | 391 | public function getFolderByFolderId($folderId) |
388 | 392 | { |
@@ -468,7 +472,7 @@ discard block |
||
468 | 472 | * @param Type\FolderIdType $folderId |
469 | 473 | * @param null $syncState |
470 | 474 | * @param array $options |
471 | - * @return SyncFolderItemsResponseMessageType |
|
475 | + * @return Type |
|
472 | 476 | */ |
473 | 477 | public function listItemChanges($folderId, $syncState = null, $options = array()) |
474 | 478 | { |
@@ -4,6 +4,10 @@ |
||
4 | 4 | |
5 | 5 | class ItemUpdateBuilder |
6 | 6 | { |
7 | + /** |
|
8 | + * @param string $itemType |
|
9 | + * @param string $uriType |
|
10 | + */ |
|
7 | 11 | public static function buildUpdateItemChanges($itemType, $uriType, $changes) |
8 | 12 | { |
9 | 13 | $updateArray = []; |
@@ -137,7 +137,7 @@ |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
140 | - * @param $name |
|
140 | + * @param string $name |
|
141 | 141 | * @param $value |
142 | 142 | * @return null |
143 | 143 | */ |
@@ -435,7 +435,7 @@ |
||
435 | 435 | |
436 | 436 | /** |
437 | 437 | * @param Message\BaseResponseMessageType $response |
438 | - * @param $code |
|
438 | + * @param integer $code |
|
439 | 439 | * @throws ExchangeException |
440 | 440 | * @throws NoResponseReturnedException |
441 | 441 | * @throws ServiceUnavailableException |