From 1e0355cf4c0f10423958d90271f2e63a7d0e0a54 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Fri, 22 May 2020 18:26:43 -0500 Subject: [PATCH] Remove unused classes --- src/PgSqlCommandResult.php | 35 ----------------------------------- src/PqCommandResult.php | 28 ---------------------------- 2 files changed, 63 deletions(-) delete mode 100644 src/PgSqlCommandResult.php delete mode 100644 src/PqCommandResult.php diff --git a/src/PgSqlCommandResult.php b/src/PgSqlCommandResult.php deleted file mode 100644 index 9f8926b..0000000 --- a/src/PgSqlCommandResult.php +++ /dev/null @@ -1,35 +0,0 @@ -handle = $handle; - } - - /** - * Frees the result resource. - */ - public function __destruct() - { - \pg_free_result($this->handle); - } - - /** - * @return int Number of rows affected by the INSERT, UPDATE, or DELETE query. - */ - public function getAffectedRowCount(): int - { - return \pg_affected_rows($this->handle); - } -} diff --git a/src/PqCommandResult.php b/src/PqCommandResult.php deleted file mode 100644 index 194882a..0000000 --- a/src/PqCommandResult.php +++ /dev/null @@ -1,28 +0,0 @@ -result = $result; - } - - /** - * @return int Number of rows affected by the INSERT, UPDATE, or DELETE query. - */ - public function getAffectedRowCount(): int - { - return $this->result->affectedRows; - } -}