Completed
Push — master ( b05bb8...7c707d )
by Gareth
03:25
created
src/API.php 2 patches
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.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace garethp\ews;
4 4
 
5
-use garethp\ews\API\Enumeration\DictionaryURIType;
6
-use garethp\ews\API\Enumeration\UnindexedFieldURIType;
7 5
 use garethp\ews\API\Exception\ExchangeException;
8 6
 use garethp\ews\API\ExchangeWebServices;
9 7
 use garethp\ews\API\Message\GetServerTimeZonesType;
Please login to merge, or discard this patch.