Completed
Push — master ( ab64a4...1156bb )
by Gareth
03:37
created
src/Mail/MailAPI.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Calendar/CalendarAPI.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -100,10 +100,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Contacts/ContactsAPI.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/API.php 1 patch
Doc Comments   +14 added lines, -4 removed lines patch added patch discarded remove patch
@@ -120,6 +120,9 @@  discard block
 block discarded – undo
120 120
         return $this->unIndexedFieldUris[$fieldName][$preference];
121 121
     }
122 122
 
123
+    /**
124
+     * @param string $fieldName
125
+     */
123 126
     public function getIndexedFieldUriByName($fieldName, $preference = 'item', $entryKey = false)
124 127
     {
125 128
         $fieldName = strtolower($fieldName);
@@ -232,6 +235,10 @@  discard block
 block discarded – undo
232 235
         ));
233 236
     }
234 237
 
238
+    /**
239
+     * @param string $username
240
+     * @param string $password
241
+     */
235 242
     public static function withUsernameAndPassword($server, $username, $password, $options = [])
236 243
     {
237 244
         return new static(ExchangeWebServices::fromUsernameAndPassword(
@@ -307,6 +314,9 @@  discard block
 block discarded – undo
307 314
         return $this->getClient()->UpdateItem($request)->getItems();
308 315
     }
309 316
 
317
+    /**
318
+     * @param string $uriType
319
+     */
310 320
     protected function getFieldURI($uriType, $key = null, $value = null)
311 321
     {
312 322
         if (strpos($key, ':') !== false) {
@@ -491,7 +501,7 @@  discard block
 block discarded – undo
491 501
 
492 502
     /**
493 503
      * @param $identifier
494
-     * @return Type\BaseFolderType
504
+     * @return Type
495 505
      */
496 506
     public function getFolder($identifier)
497 507
     {
@@ -511,7 +521,7 @@  discard block
 block discarded – undo
511 521
      * Get a folder by it's distinguishedId
512 522
      *
513 523
      * @param string $distinguishedId
514
-     * @return Type\BaseFolderType
524
+     * @return Type
515 525
      */
516 526
     public function getFolderByDistinguishedId($distinguishedId)
517 527
     {
@@ -525,7 +535,7 @@  discard block
 block discarded – undo
525 535
 
526 536
     /**
527 537
      * @param $folderId
528
-     * @return Type\BaseFolderType
538
+     * @return Type
529 539
      */
530 540
     public function getFolderByFolderId($folderId)
531 541
     {
@@ -610,7 +620,7 @@  discard block
 block discarded – undo
610 620
      * @param Type\FolderIdType $folderId
611 621
      * @param null $syncState
612 622
      * @param array $options
613
-     * @return SyncFolderItemsResponseMessageType
623
+     * @return Type
614 624
      */
615 625
     public function listItemChanges($folderId, $syncState = null, $options = array())
616 626
     {
Please login to merge, or discard this patch.