diff --git a/src/storage/connection/isolated/AphrontIsolatedDatabaseConnection.php b/src/storage/connection/isolated/AphrontIsolatedDatabaseConnection.php index 11b0f8372f..25f57e4cc9 100644 --- a/src/storage/connection/isolated/AphrontIsolatedDatabaseConnection.php +++ b/src/storage/connection/isolated/AphrontIsolatedDatabaseConnection.php @@ -70,7 +70,7 @@ final class AphrontIsolatedDatabaseConnection return $this->affectedRows; } - public function getTransactionKey() { + protected function getTransactionKey() { return $this->transactionKey; } diff --git a/src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php b/src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php index 01d223b4a1..a1fffbb944 100644 --- a/src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php +++ b/src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php @@ -192,7 +192,7 @@ final class AphrontMySQLDatabaseConnection extends AphrontDatabaseConnection { return mysql_affected_rows($this->requireConnection()); } - public function getTransactionKey() { + protected function getTransactionKey() { return (int)$this->requireConnection(); }