@@ -90,10 +90,8 @@ |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
93 | - * @param mixed $location |
|
94 | - * @param string $user |
|
95 | - * @param string $password |
|
96 | - * @param $wsdl |
|
93 | + * @param string $location |
|
94 | + * @param string $wsdl |
|
97 | 95 | * @param array $options |
98 | 96 | */ |
99 | 97 | public function __construct($location, $auth, $wsdl, $options = array()) |
@@ -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 | { |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | * |
209 | 209 | * @param $items |
210 | 210 | * @param array $options |
211 | - * @return API\CreateItemResponseType |
|
211 | + * @return Type |
|
212 | 212 | */ |
213 | 213 | public function createItems($items, $options = array()) |
214 | 214 | { |
@@ -243,6 +243,10 @@ discard block |
||
243 | 243 | return $this->getClient()->UpdateItem($request)->getItems(); |
244 | 244 | } |
245 | 245 | |
246 | + /** |
|
247 | + * @param string $itemType |
|
248 | + * @param string $uriType |
|
249 | + */ |
|
246 | 250 | protected function buildUpdateItemChanges($itemType, $uriType, $changes) |
247 | 251 | { |
248 | 252 | $setItemFields = array(); |
@@ -334,7 +338,7 @@ discard block |
||
334 | 338 | |
335 | 339 | /** |
336 | 340 | * @param $identifier |
337 | - * @return Type\BaseFolderType |
|
341 | + * @return Type |
|
338 | 342 | */ |
339 | 343 | public function getFolder($identifier) |
340 | 344 | { |
@@ -354,7 +358,7 @@ discard block |
||
354 | 358 | * Get a folder by it's distinguishedId |
355 | 359 | * |
356 | 360 | * @param string $distinguishedId |
357 | - * @return Type\BaseFolderType |
|
361 | + * @return Type |
|
358 | 362 | */ |
359 | 363 | public function getFolderByDistinguishedId($distinguishedId) |
360 | 364 | { |
@@ -368,7 +372,7 @@ discard block |
||
368 | 372 | |
369 | 373 | /** |
370 | 374 | * @param $folderId |
371 | - * @return Type\BaseFolderType |
|
375 | + * @return Type |
|
372 | 376 | */ |
373 | 377 | public function getFolderByFolderId($folderId) |
374 | 378 | { |
@@ -408,7 +412,7 @@ discard block |
||
408 | 412 | } |
409 | 413 | |
410 | 414 | /** |
411 | - * @param $folderName |
|
415 | + * @param string $folderName |
|
412 | 416 | * @param string|Type\FolderIdType $parentFolderId |
413 | 417 | * @param array $options |
414 | 418 | * @return bool|Type\BaseFolderType |
@@ -453,7 +457,7 @@ discard block |
||
453 | 457 | * @param Type\FolderIdType $folderId |
454 | 458 | * @param null $syncState |
455 | 459 | * @param array $options |
456 | - * @return SyncFolderItemsResponseMessageType |
|
460 | + * @return Type |
|
457 | 461 | */ |
458 | 462 | public function listItemChanges($folderId, $syncState = null, $options = array()) |
459 | 463 | { |
@@ -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 | { |