@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | |
297 | 297 | /** |
298 | 298 | * @brief Returns a list of all database events in the CouchDB instance. |
299 | - * @param DbUpdatesFeedOpts $opts Additional options. |
|
299 | + * @param Opt\DbUpdatesFeedOpts $opts Additional options. |
|
300 | 300 | * @return array An associative array. |
301 | 301 | * @attention Requires admin privileges. |
302 | 302 | * @see http://docs.couchdb.org/en/latest/api/server/common.html#db-updates |
@@ -564,7 +564,7 @@ discard block |
||
564 | 564 | /** |
565 | 565 | * @brief Returns information about the selected database. |
566 | 566 | * @param string $name The database name. |
567 | - * @return array An associative array. |
|
567 | + * @return Info\DbInfo An associative array. |
|
568 | 568 | * @see http://docs.couchdb.org/en/latest/api/database/common.html#get--db |
569 | 569 | */ |
570 | 570 | public function getDbInfo($name) { |
@@ -576,7 +576,7 @@ discard block |
||
576 | 576 | * @brief Obtains a list of the changes made to the database. This can be used to monitor for update and modifications |
577 | 577 | * to the database for post processing or synchronization. |
578 | 578 | * @param string $name The database name. |
579 | - * @param ChangesFeedOpts $opts Additional options. |
|
579 | + * @param Opt\ChangesFeedOpts $opts Additional options. |
|
580 | 580 | * @return Response |
581 | 581 | * @see http://docs.couchdb.org/en/latest/api/database/changes.html |
582 | 582 | */ |
@@ -707,7 +707,7 @@ discard block |
||
707 | 707 | /** |
708 | 708 | * @brief Returns the special security object for the database. |
709 | 709 | * @param string $dbName The database name. |
710 | - * @return string A JSON object. |
|
710 | + * @return Response A JSON object. |
|
711 | 711 | * @see http://docs.couchdb.org/en/latest/api/database/security.html#get--db-_security |
712 | 712 | */ |
713 | 713 | public function getSecurityObj($dbName) { |
@@ -761,7 +761,7 @@ discard block |
||
761 | 761 | * permanent continuous replications that survive a server restart without you having to do anything. |
762 | 762 | * @param string|array $filter (optional) Name of a filter function that can choose which revisions get replicated. |
763 | 763 | * You can also provide an array of document identifiers; if given, only these documents will be replicated. |
764 | - * @param ViewQueryOpts $opts (optional) Query options to get additional information, grouping results, include |
|
764 | + * @param Opt\ViewQueryOpts $opts (optional) Query options to get additional information, grouping results, include |
|
765 | 765 | * docs, etc. |
766 | 766 | * @return Response |
767 | 767 | * @see http://docs.couchdb.org/en/latest/api/server/common.html#post--_replicate |
@@ -865,7 +865,7 @@ discard block |
||
865 | 865 | * @param array $keys (optional) Used to retrieve just the view rows matching that set of keys. Rows are returned |
866 | 866 | * in the order of the specified keys. Combining this feature with Opt\ViewQueryOpts.includeDocs() results in the so-called |
867 | 867 | * multi-document-fetch feature. |
868 | - * @param ViewQueryOpts $opts (optional) Query options to get additional information, grouping results, include |
|
868 | + * @param Opt\ViewQueryOpts $opts (optional) Query options to get additional information, grouping results, include |
|
869 | 869 | * docs, etc. |
870 | 870 | * @param IChunkHook $chunkHook (optional) A class instance that implements the IChunkHook interface. |
871 | 871 | * @return Result\QueryResult The result of the query. |
@@ -897,7 +897,7 @@ discard block |
||
897 | 897 | * @param array $keys (optional) Used to retrieve just the view rows matching that set of keys. Rows are returned |
898 | 898 | * in the order of the specified keys. Combining this feature with Opt\ViewQueryOpts.includeDocs() results in the so-called |
899 | 899 | * multi-document-fetch feature. |
900 | - * @param ViewQueryOpts $opts (optional) Query options to get additional information, grouping results, include |
|
900 | + * @param Opt\ViewQueryOpts $opts (optional) Query options to get additional information, grouping results, include |
|
901 | 901 | * docs, etc. |
902 | 902 | * @param IChunkHook $chunkHook (optional) A class instance that implements the IChunkHook interface. |
903 | 903 | * @return Result\QueryResult The result of the query. |
@@ -949,7 +949,7 @@ discard block |
||
949 | 949 | * @param array $keys (optional) Used to retrieve just the view rows matching that set of keys. Rows are returned |
950 | 950 | * in the order of the specified keys. Combining this feature with Opt\ViewQueryOpts.includeDocs() results in the so-called |
951 | 951 | * multi-document-fetch feature. |
952 | - * @param ViewQueryOpts $opts (optional) Query options to get additional information, grouping results, include |
|
952 | + * @param Opt\ViewQueryOpts $opts (optional) Query options to get additional information, grouping results, include |
|
953 | 953 | * docs, etc. |
954 | 954 | * @param string $language The language used to implement the map and reduce functions. |
955 | 955 | * @param IChunkHook $chunkHook (optional) A class instance that implements the IChunkHook interface. |
@@ -1089,7 +1089,7 @@ discard block |
||
1089 | 1089 | * @param string $docId The document's identifier. |
1090 | 1090 | * @param string $path The document's path. |
1091 | 1091 | * @param string $rev (optional) The document's revision. |
1092 | - * @param DocOpts $opts Query options to get additional document information, like conflicts, attachments, etc. |
|
1092 | + * @param Opt\DocOpts $opts Query options to get additional document information, like conflicts, attachments, etc. |
|
1093 | 1093 | * @return object|Response An instance of Doc, LocalDoc, DesignDoc or any subclass of Doc. |
1094 | 1094 | * @see http://docs.couchdb.org/en/latest/api/document/common.html#get--db-docid |
1095 | 1095 | */ |
@@ -1144,7 +1144,7 @@ discard block |
||
1144 | 1144 | * using PUT instead we need to specify one. We can still use the function getUuids() to ask CouchDB for some ids. |
1145 | 1145 | * This is an internal detail. You have only to know that CouchDB can generate the document id for you. |
1146 | 1146 | * @param string $dbName The database name. |
1147 | - * @param Doc $doc The document you want insert or update. |
|
1147 | + * @param Doc\IDoc $doc The document you want insert or update. |
|
1148 | 1148 | * @param bool $batchMode (optional) You can write documents to the database at a higher rate by using the batch |
1149 | 1149 | * option. This collects document writes together in memory (on a user-by-user basis) before they are committed to |
1150 | 1150 | * disk. This increases the risk of the documents not being stored in the event of a failure, since the documents are |
@@ -1333,7 +1333,7 @@ discard block |
||
1333 | 1333 | * @param string $docId The document's identifier. |
1334 | 1334 | * @param string $path The document's path. |
1335 | 1335 | * @param string $rev (optional) The document's revision. |
1336 | - * @return string The document's revision. |
|
1336 | + * @return Response The document's revision. |
|
1337 | 1337 | * @see http://docs.couchdb.org/en/latest/api/document/attachments.html#db-doc-attachment |
1338 | 1338 | */ |
1339 | 1339 | public function getAttachmentInfo($dbName, $fileName, $path, $docId, $rev = NULL) { |