Completed
Push — master ( b05bb8...7c707d )
by Gareth
03:25
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   +12 added lines, -5 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * @deprecated This will be removed in 0.9. See FieldURIManager
81 81
      *
82
-     * @param $fieldName
82
+     * @param string $fieldName
83 83
      * @param string $preference
84 84
      * @param bool $entryKey
85 85
      * @throws ExchangeException
@@ -164,6 +164,10 @@  discard block
 block discarded – undo
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(
@@ -247,6 +251,9 @@  discard block
 block discarded – undo
247 251
         return $response;
248 252
     }
249 253
 
254
+    /**
255
+     * @param string $uriType
256
+     */
250 257
     protected function getFieldURI($uriType, $key = null, $value = null)
251 258
     {
252 259
         if (strpos($key, ':') !== false) {
@@ -431,7 +438,7 @@  discard block
 block discarded – undo
431 438
 
432 439
     /**
433 440
      * @param $identifier
434
-     * @return Type\BaseFolderType
441
+     * @return Type
435 442
      */
436 443
     public function getFolder($identifier)
437 444
     {
@@ -451,7 +458,7 @@  discard block
 block discarded – undo
451 458
      * Get a folder by it's distinguishedId
452 459
      *
453 460
      * @param string $distinguishedId
454
-     * @return Type\BaseFolderType
461
+     * @return Type
455 462
      */
456 463
     public function getFolderByDistinguishedId($distinguishedId)
457 464
     {
@@ -465,7 +472,7 @@  discard block
 block discarded – undo
465 472
 
466 473
     /**
467 474
      * @param $folderId
468
-     * @return Type\BaseFolderType
475
+     * @return Type
469 476
      */
470 477
     public function getFolderByFolderId($folderId)
471 478
     {
@@ -550,7 +557,7 @@  discard block
 block discarded – undo
550 557
      * @param Type\FolderIdType $folderId
551 558
      * @param null $syncState
552 559
      * @param array $options
553
-     * @return SyncFolderItemsResponseMessageType
560
+     * @return Type
554 561
      */
555 562
     public function listItemChanges($folderId, $syncState = null, $options = array())
556 563
     {
Please login to merge, or discard this patch.