Completed
Push — master ( 62e8ac...4b82f4 )
by Gareth
03:48
created
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.