Completed
Push — master ( 62e8ac...4b82f4 )
by Gareth
03:48
created
src/API/MagicMethodsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     }
138 138
 
139 139
     /**
140
-     * @param $name
140
+     * @param string $name
141 141
      * @param $value
142 142
      * @return null
143 143
      */
Please login to merge, or discard this patch.
src/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/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/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/API/ExchangeWebServices.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
 
428 428
     /**
429 429
      * @param Message\BaseResponseMessageType $response
430
-     * @param $code
430
+     * @param integer $code
431 431
      * @throws ExchangeException
432 432
      * @throws NoResponseReturnedException
433 433
      * @throws ServiceUnavailableException
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
     }
478 478
 
479 479
     /**
480
-     * @param array $middlewareStack
480
+     * @param callable[] $middlewareStack
481 481
      * @param MiddlewareRequest $request
482 482
      * @return MiddlewareResponse
483 483
      */
Please login to merge, or discard this patch.
src/API/ItemUpdateBuilder.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@  discard block
 block discarded – undo
24 24
         return $updateArray;
25 25
     }
26 26
 
27
+    /**
28
+     * @param string $uriType
29
+     */
27 30
     protected static function buildUpdateDeleteItemFields($uriType, $changes)
28 31
     {
29 32
         $deleteItemFields = [];
@@ -40,6 +43,10 @@  discard block
 block discarded – undo
40 43
         return $deleteItemFields;
41 44
     }
42 45
 
46
+    /**
47
+     * @param string $itemType
48
+     * @param string $uriType
49
+     */
43 50
     protected static function buildUpdateSetItemFields($itemType, $uriType, $changes)
44 51
     {
45 52
         $setItemFields = [];
Please login to merge, or discard this patch.
src/API.php 1 patch
Doc Comments   +10 added lines, -6 removed lines patch added patch discarded remove patch
@@ -92,6 +92,10 @@  discard block
 block discarded – undo
92 92
         return $this->client;
93 93
     }
94 94
 
95
+    /**
96
+     * @param string $username
97
+     * @param string $password
98
+     */
95 99
     public static function withUsernameAndPassword($server, $username, $password, $options = [])
96 100
     {
97 101
         return new static(ExchangeWebServices::fromUsernameAndPassword(
@@ -306,7 +310,7 @@  discard block
 block discarded – undo
306 310
 
307 311
     /**
308 312
      * @param $identifier
309
-     * @return Type\BaseFolderType
313
+     * @return Type
310 314
      */
311 315
     public function getFolder($identifier)
312 316
     {
@@ -327,7 +331,7 @@  discard block
 block discarded – undo
327 331
      * Get a folder by it's distinguishedId
328 332
      *
329 333
      * @param string $distinguishedId
330
-     * @return Type\BaseFolderType
334
+     * @return Type
331 335
      */
332 336
     public function getFolderByDistinguishedId($distinguishedId)
333 337
     {
@@ -341,7 +345,7 @@  discard block
 block discarded – undo
341 345
 
342 346
     /**
343 347
      * @param $folderId
344
-     * @return Type\BaseFolderType
348
+     * @return Type
345 349
      */
346 350
     public function getFolderByFolderId($folderId)
347 351
     {
@@ -353,7 +357,7 @@  discard block
 block discarded – undo
353 357
     /**
354 358
      * @param string|Type\FolderIdType $parentFolderId
355 359
      * @param array $options
356
-     * @return Type\BaseFolderType[]
360
+     * @return Type
357 361
      */
358 362
     public function getChildrenFolders($parentFolderId = 'root', $options = array())
359 363
     {
@@ -383,7 +387,7 @@  discard block
 block discarded – undo
383 387
      * @param string $folderName
384 388
      * @param string|Type\FolderIdType $parentFolderId
385 389
      * @param array $options
386
-     * @return bool|Type\BaseFolderType
390
+     * @return boolean
387 391
      */
388 392
     public function getFolderByDisplayName($folderName, $parentFolderId = 'root', $options = array())
389 393
     {
@@ -425,7 +429,7 @@  discard block
 block discarded – undo
425 429
      * @param Type\FolderIdType $folderId
426 430
      * @param null $syncState
427 431
      * @param array $options
428
-     * @return SyncFolderItemsResponseMessageType
432
+     * @return Type
429 433
      */
430 434
     public function listItemChanges($folderId, $syncState = null, $options = array())
431 435
     {
Please login to merge, or discard this patch.