Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/databasetraits/IndexTrait.php')
-rw-r--r--src/database/databasetraits/IndexTrait.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/database/databasetraits/IndexTrait.php b/src/database/databasetraits/IndexTrait.php
index 800c0834..ca328c10 100644
--- a/src/database/databasetraits/IndexTrait.php
+++ b/src/database/databasetraits/IndexTrait.php
@@ -126,7 +126,7 @@ trait IndexTrait
* @param bool $force If true, recreates indexes forcedly in PostgreSQL 7.0-7.1, forces rebuild of system indexes in
* 7.2-7.3, ignored in >=7.4
*
- * @return \ADORecordSet|int
+ * @return int|\PHPPgAdmin\ADORecordSet
*/
public function reindex($type, $name, $force = false)
{
@@ -199,7 +199,7 @@ trait IndexTrait
*
* @param string $table the table where we are looking for fk
*
- * @return \ADORecordSet|int
+ * @return int|\PHPPgAdmin\ADORecordSet
*/
public function getConstraintsWithFields($table)
{
@@ -267,7 +267,7 @@ trait IndexTrait
* @param string $name (optional) The name to give the key, otherwise default name is assigned
* @param string $tablespace (optional) The tablespace for the schema, '' indicates default
*
- * @return \ADORecordSet|int
+ * @return int|\PHPPgAdmin\ADORecordSet
*/
public function addPrimaryKey($table, $fields, $name = '', $tablespace = '')
{
@@ -305,7 +305,7 @@ trait IndexTrait
* @param string $name (optional) The name to give the key, otherwise default name is assigned
* @param string $tablespace (optional) The tablespace for the schema, '' indicates default
*
- * @return \ADORecordSet|int
+ * @return int|\PHPPgAdmin\ADORecordSet
*/
public function addUniqueKey($table, $fields, $name = '', $tablespace = '')
{
@@ -344,7 +344,7 @@ trait IndexTrait
* @param string $definition The definition of the check
* @param string $name (optional) The name to give the check, otherwise default name is assigned
*
- * @return \ADORecordSet|int
+ * @return int|\PHPPgAdmin\ADORecordSet
*/
public function addCheckConstraint($table, $definition, $name = '')
{
@@ -446,7 +446,7 @@ trait IndexTrait
* @param string $initially The initially parameter for the FK (eg. INITIALLY IMMEDIATE)
* @param string $name [optional] The name to give the key, otherwise default name is assigned
*
- * @return \ADORecordSet|int
+ * @return int|\PHPPgAdmin\ADORecordSet
*
* @internal param \PHPPgAdmin\Database\The $target table that contains the target columns
* @internal param \PHPPgAdmin\Database\The $intially initial deferrability (eg. INITIALLY IMMEDIATE)
@@ -519,7 +519,7 @@ trait IndexTrait
* @param string $type The type of constraint (c, f, u or p)
* @param bool $cascade True to cascade drop, false to restrict
*
- * @return \ADORecordSet|int
+ * @return int|\PHPPgAdmin\ADORecordSet
*/
public function dropConstraint($constraint, $relation, $type, $cascade)
{
@@ -542,7 +542,7 @@ trait IndexTrait
*
* @param array $tables multi dimensional assoc array that holds schema and table name
*
- * @return \ADORecordSet|int recordset of linked tables and columns or -1 if $tables isn't an array
+ * @return int|\PHPPgAdmin\ADORecordSet recordset of linked tables and columns or -1 if $tables isn't an array
*/
public function getLinkingKeys($tables)
{
@@ -636,7 +636,7 @@ trait IndexTrait
*
* @param string $table The table to find referrers for
*
- * @return \ADORecordSet|int A recordset or -1 in case of error
+ * @return int|\PHPPgAdmin\ADORecordSet A recordset or -1 in case of error
*/
public function getReferrers($table)
{