@@ -63,7 +63,7 @@ public function alterDatabase($dbName, $newName, $newOwner = '', $comment = '')
6363 *
6464 * @param null|string $currentdatabase
6565 *
66- * @return \PHPPgAdmin\ADORecordSet A list of databases, sorted alphabetically
66+ * @return \PHPPgAdmin\ADORecordSet|int A list of databases, sorted alphabetically
6767 */
6868 public function getDatabases ($ currentdatabase = null )
6969 {
@@ -110,7 +110,7 @@ public function getDatabases($currentdatabase = null)
110110 * @param string $term The search term
111111 * @param string $filter The object type to restrict to ('' means no restriction)
112112 *
113- * @return \PHPPgAdmin\ADORecordSet A recordset
113+ * @return \PHPPgAdmin\ADORecordSet|int A recordset
114114 */
115115 public function findObject ($ term , $ filter )
116116 {
@@ -257,7 +257,7 @@ public function findObject($term, $filter)
257257 /**
258258 * Returns table locks information in the current database.
259259 *
260- * @return \PHPPgAdmin\ADORecordSet A recordset
260+ * @return \PHPPgAdmin\ADORecordSet|int A recordset
261261 */
262262 public function getLocks ()
263263 {
@@ -383,7 +383,7 @@ public function alterColumn(
383383 *
384384 * @param string $table The name of the table
385385 *
386- * @return \PHPPgAdmin\ADORecordSet A recordset
386+ * @return \PHPPgAdmin\ADORecordSet|int A recordset
387387 */
388388 public function getTable ($ table )
389389 {
@@ -424,7 +424,7 @@ public function getDefaultWithOid()
424424 *
425425 * @param string $table the table where we are looking for fk
426426 *
427- * @return \PHPPgAdmin\ADORecordSet A recordset
427+ * @return \PHPPgAdmin\ADORecordSet|int A recordset
428428 */
429429 public function getConstraintsWithFields ($ table )
430430 {
@@ -489,7 +489,7 @@ public function getConstraintsWithFields($table)
489489 *
490490 * @param bool $all
491491 *
492- * @return \PHPPgAdmin\ADORecordSet A recordset
492+ * @return \PHPPgAdmin\ADORecordSet|int A recordset
493493 */
494494 public function getSequences ($ all = false )
495495 {
@@ -520,7 +520,7 @@ public function getSequences($all = false)
520520 *
521521 * @param int $function_oid function identifier
522522 *
523- * @return \PHPPgAdmin\ADORecordSet Function info
523+ * @return \PHPPgAdmin\ADORecordSet|int Function info
524524 *
525525 * @internal param string The $func name of the function to retrieve
526526 */
@@ -560,7 +560,7 @@ public function getFunction($function_oid)
560560 /**
561561 * Returns a list of all casts in the database.
562562 *
563- * @return \PHPPgAdmin\ADORecordSet All casts
563+ * @return \PHPPgAdmin\ADORecordSet|int All casts
564564 */
565565 public function getCasts ()
566566 {
0 commit comments