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/RowTrait.php')
-rw-r--r--src/database/databasetraits/RowTrait.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/database/databasetraits/RowTrait.php b/src/database/databasetraits/RowTrait.php
index 935b1be8..8ec7db35 100644
--- a/src/database/databasetraits/RowTrait.php
+++ b/src/database/databasetraits/RowTrait.php
@@ -1,13 +1,11 @@
<?php
/**
- * PHPPgAdmin 6.1.3
+ * PHPPgAdmin6
*/
namespace PHPPgAdmin\Database\Traits;
-use PHPPgAdmin\ADORecordSet;
-
/**
* Common trait for tables manipulation.
*/
@@ -19,7 +17,7 @@ trait RowTrait
* @param string $table The name of a table
* @param array $key The associative array holding the key to retrieve
*
- * @return \RecordSet|int|string
+ * @return \ADORecordSet|bool|int|string
*/
public function browseRow($table, $key)
{
@@ -252,7 +250,9 @@ trait RowTrait
* @param array $types An array of field types
* @param array $keyarr An array mapping column => value to update
*
- * @return int 0 success
+ * @return int
+ *
+ * @psalm-return -2|-1|0|1
*/
public function editRow($table, $vars, $nulls, $format, $types, $keyarr)
{
@@ -346,7 +346,9 @@ trait RowTrait
* @param array $key An array mapping column => value to delete
* @param string $schema the schema of the table
*
- * @return int 0 success
+ * @return int
+ *
+ * @psalm-return -2|-1|0|1
*/
public function deleteRow($table, $key, $schema = '')
{