@@ -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 | { |
@@ -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 | { |
@@ -110,6 +110,9 @@ discard block |
||
110 | 110 | return $this->unIndexedFieldUris[$fieldName][$preference]; |
111 | 111 | } |
112 | 112 | |
113 | + /** |
|
114 | + * @param string $fieldName |
|
115 | + */ |
|
113 | 116 | public function getIndexedFieldUriByName($fieldName, $preference = 'item') |
114 | 117 | { |
115 | 118 | $fieldName = strtolower($fieldName); |
@@ -248,7 +251,7 @@ discard block |
||
248 | 251 | * |
249 | 252 | * @param $items |
250 | 253 | * @param array $options |
251 | - * @return API\CreateItemResponseType |
|
254 | + * @return Type |
|
252 | 255 | */ |
253 | 256 | public function createItems($items, $options = array()) |
254 | 257 | { |
@@ -283,6 +286,10 @@ discard block |
||
283 | 286 | return $this->getClient()->UpdateItem($request)->getItems(); |
284 | 287 | } |
285 | 288 | |
289 | + /** |
|
290 | + * @param string $itemType |
|
291 | + * @param string $uriType |
|
292 | + */ |
|
286 | 293 | protected function buildUpdateItemChanges($itemType, $uriType, $changes) |
287 | 294 | { |
288 | 295 | $setItemFields = array(); |
@@ -404,7 +411,7 @@ discard block |
||
404 | 411 | |
405 | 412 | /** |
406 | 413 | * @param $identifier |
407 | - * @return Type\BaseFolderType |
|
414 | + * @return Type |
|
408 | 415 | */ |
409 | 416 | public function getFolder($identifier) |
410 | 417 | { |
@@ -424,7 +431,7 @@ discard block |
||
424 | 431 | * Get a folder by it's distinguishedId |
425 | 432 | * |
426 | 433 | * @param string $distinguishedId |
427 | - * @return Type\BaseFolderType |
|
434 | + * @return Type |
|
428 | 435 | */ |
429 | 436 | public function getFolderByDistinguishedId($distinguishedId) |
430 | 437 | { |
@@ -438,7 +445,7 @@ discard block |
||
438 | 445 | |
439 | 446 | /** |
440 | 447 | * @param $folderId |
441 | - * @return Type\BaseFolderType |
|
448 | + * @return Type |
|
442 | 449 | */ |
443 | 450 | public function getFolderByFolderId($folderId) |
444 | 451 | { |
@@ -478,7 +485,7 @@ discard block |
||
478 | 485 | } |
479 | 486 | |
480 | 487 | /** |
481 | - * @param $folderName |
|
488 | + * @param string $folderName |
|
482 | 489 | * @param string|Type\FolderIdType $parentFolderId |
483 | 490 | * @param array $options |
484 | 491 | * @return bool|Type\BaseFolderType |
@@ -523,7 +530,7 @@ discard block |
||
523 | 530 | * @param Type\FolderIdType $folderId |
524 | 531 | * @param null $syncState |
525 | 532 | * @param array $options |
526 | - * @return SyncFolderItemsResponseMessageType |
|
533 | + * @return Type |
|
527 | 534 | */ |
528 | 535 | public function listItemChanges($folderId, $syncState = null, $options = array()) |
529 | 536 | { |
@@ -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 | { |