@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | * |
| 205 | 205 | * @param $items |
| 206 | 206 | * @param array $options |
| 207 | - * @return API\CreateItemResponseType |
|
| 207 | + * @return Type |
|
| 208 | 208 | */ |
| 209 | 209 | public function createItems($items, $options = array()) |
| 210 | 210 | { |
@@ -239,6 +239,10 @@ discard block |
||
| 239 | 239 | return $this->getClient()->UpdateItem($request)->getItems(); |
| 240 | 240 | } |
| 241 | 241 | |
| 242 | + /** |
|
| 243 | + * @param string $itemType |
|
| 244 | + * @param string $uriType |
|
| 245 | + */ |
|
| 242 | 246 | protected function buildUpdateItemChanges($itemType, $uriType, $changes) |
| 243 | 247 | { |
| 244 | 248 | $setItemFields = array(); |
@@ -330,7 +334,7 @@ discard block |
||
| 330 | 334 | |
| 331 | 335 | /** |
| 332 | 336 | * @param $identifier |
| 333 | - * @return Type\BaseFolderType |
|
| 337 | + * @return Type |
|
| 334 | 338 | */ |
| 335 | 339 | public function getFolder($identifier) |
| 336 | 340 | { |
@@ -350,7 +354,7 @@ discard block |
||
| 350 | 354 | * Get a folder by it's distinguishedId |
| 351 | 355 | * |
| 352 | 356 | * @param string $distinguishedId |
| 353 | - * @return Type\BaseFolderType |
|
| 357 | + * @return Type |
|
| 354 | 358 | */ |
| 355 | 359 | public function getFolderByDistinguishedId($distinguishedId) |
| 356 | 360 | { |
@@ -364,7 +368,7 @@ discard block |
||
| 364 | 368 | |
| 365 | 369 | /** |
| 366 | 370 | * @param $folderId |
| 367 | - * @return Type\BaseFolderType |
|
| 371 | + * @return Type |
|
| 368 | 372 | */ |
| 369 | 373 | public function getFolderByFolderId($folderId) |
| 370 | 374 | { |
@@ -374,7 +378,7 @@ discard block |
||
| 374 | 378 | } |
| 375 | 379 | |
| 376 | 380 | /** |
| 377 | - * @param $folderName |
|
| 381 | + * @param string $folderName |
|
| 378 | 382 | * @param string|Type\FolderIdType $parentFolderId |
| 379 | 383 | * @param array $options |
| 380 | 384 | * @return bool|Type\BaseFolderType |
@@ -439,7 +443,7 @@ discard block |
||
| 439 | 443 | * @param Type\FolderIdType $folderId |
| 440 | 444 | * @param null $syncState |
| 441 | 445 | * @param array $options |
| 442 | - * @return mixed |
|
| 446 | + * @return Type |
|
| 443 | 447 | */ |
| 444 | 448 | public function listItemChanges($folderId, $syncState = null, $options = array()) |
| 445 | 449 | { |
@@ -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()) |
@@ -89,10 +89,10 @@ discard block |
||
| 89 | 89 | /** |
| 90 | 90 | * Get a list of calendar items between two dates/times |
| 91 | 91 | * |
| 92 | - * @param string|DateTime $start |
|
| 93 | - * @param string|DateTime $end |
|
| 92 | + * @param string $start |
|
| 93 | + * @param string $end |
|
| 94 | 94 | * @param array $options |
| 95 | - * @return CalendarItemType[]|Type\FindItemParentType |
|
| 95 | + * @return Type |
|
| 96 | 96 | */ |
| 97 | 97 | public function getCalendarItems($start = '12:00 AM', $end = '11:59 PM', $options = array()) |
| 98 | 98 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | /** |
| 132 | 132 | * @param $id |
| 133 | 133 | * @param $changeKey |
| 134 | - * @return Type\CalendarItemType |
|
| 134 | + * @return Type |
|
| 135 | 135 | */ |
| 136 | 136 | public function getCalendarItem($id, $changeKey) |
| 137 | 137 | { |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | * |
| 200 | 200 | * @param null $syncState |
| 201 | 201 | * @param array $options |
| 202 | - * @return mixed |
|
| 202 | + * @return Type |
|
| 203 | 203 | */ |
| 204 | 204 | public function listChanges($syncState = null, $options = array()) |
| 205 | 205 | { |
@@ -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 | { |