From b8acd54027d5be739a98d0bdbea4af71eb82e894 Mon Sep 17 00:00:00 2001 From: CyberVitexus Date: Tue, 26 Nov 2024 19:00:24 +0100 Subject: [PATCH] code reformat --- src/Ease/SQL/PDO.php | 1 + tests/src/Ease/SQL/PDOTest.php | 2 +- tests/src/Ease/SQL/SQLTest.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Ease/SQL/PDO.php b/src/Ease/SQL/PDO.php index bb884ce..22e87ab 100644 --- a/src/Ease/SQL/PDO.php +++ b/src/Ease/SQL/PDO.php @@ -135,6 +135,7 @@ public function setKeyColumn($column = null) public function setTableName(string $tablename): bool { $this->myTable = $tablename; + return true; } diff --git a/tests/src/Ease/SQL/PDOTest.php b/tests/src/Ease/SQL/PDOTest.php index d47c0dd..808f78a 100644 --- a/tests/src/Ease/SQL/PDOTest.php +++ b/tests/src/Ease/SQL/PDOTest.php @@ -66,7 +66,7 @@ public function testSetKeyColumn(): void public function testSetTableName(): void { $this->object->setTableName('test'); - $this->assertEquals('test', $this->object->myTable ); + $this->assertEquals('test', $this->object->myTable); } /** diff --git a/tests/src/Ease/SQL/SQLTest.php b/tests/src/Ease/SQL/SQLTest.php index 216df99..b9955cb 100644 --- a/tests/src/Ease/SQL/SQLTest.php +++ b/tests/src/Ease/SQL/SQLTest.php @@ -129,7 +129,7 @@ public function testGetlastInsertID(): void public function testGetLastError(): void { $this->object->errorText = 'test'; - $this->assertEquals('test',$this->object->getLastError()); + $this->assertEquals('test', $this->object->getLastError()); } /**