Completed
Push — master ( 617cd0...5e87a2 )
by Gareth
08:23
created
src/API.php 2 patches
Doc Comments   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -165,6 +165,10 @@  discard block
 block discarded – undo
165 165
         ));
166 166
     }
167 167
 
168
+    /**
169
+     * @param string $username
170
+     * @param string $password
171
+     */
168 172
     public static function withUsernameAndPassword($server, $username, $password, $options = [])
169 173
     {
170 174
         return new static(ExchangeWebServices::fromUsernameAndPassword(
@@ -249,6 +253,9 @@  discard block
 block discarded – undo
249 253
         return $response;
250 254
     }
251 255
 
256
+    /**
257
+     * @param string $uriType
258
+     */
252 259
     protected function getFieldURI($uriType, $key = null, $value = null)
253 260
     {
254 261
         if (strpos($key, ':') !== false) {
@@ -456,7 +463,7 @@  discard block
 block discarded – undo
456 463
 
457 464
     /**
458 465
      * @param $identifier
459
-     * @return Type\BaseFolderType
466
+     * @return Type
460 467
      */
461 468
     public function getFolder($identifier)
462 469
     {
@@ -477,7 +484,7 @@  discard block
 block discarded – undo
477 484
      * Get a folder by it's distinguishedId
478 485
      *
479 486
      * @param string $distinguishedId
480
-     * @return Type\BaseFolderType
487
+     * @return Type
481 488
      */
482 489
     public function getFolderByDistinguishedId($distinguishedId)
483 490
     {
@@ -491,7 +498,7 @@  discard block
 block discarded – undo
491 498
 
492 499
     /**
493 500
      * @param $folderId
494
-     * @return Type\BaseFolderType
501
+     * @return Type
495 502
      */
496 503
     public function getFolderByFolderId($folderId)
497 504
     {
@@ -577,7 +584,7 @@  discard block
 block discarded – undo
577 584
      * @param Type\FolderIdType $folderId
578 585
      * @param null $syncState
579 586
      * @param array $options
580
-     * @return SyncFolderItemsResponseMessageType
587
+     * @return Type
581 588
      */
582 589
     public function listItemChanges($folderId, $syncState = null, $options = array())
583 590
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -434,7 +434,7 @@
 block discarded – undo
434 434
             if ($item instanceof Type\ItemIdType) {
435 435
                 $item = $item->toArray();
436 436
             }
437
-            $item = (array)$item;
437
+            $item = (array) $item;
438 438
             $itemIds[] = array(
439 439
                 'Id' => $item['Id'],
440 440
                 'ChangeKey' => $item['ChangeKey']
Please login to merge, or discard this patch.