Skip to content

Commit

Permalink
code reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Nov 26, 2024
1 parent 00aeb4a commit b8acd54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Ease/SQL/PDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public function setKeyColumn($column = null)
public function setTableName(string $tablename): bool
{
$this->myTable = $tablename;

return true;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Ease/SQL/PDOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Ease/SQL/SQLTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

/**
Expand Down

0 comments on commit b8acd54

Please sign in to comment.