code beautifier

This commit is contained in:
Gregory Letellier
2023-11-03 09:01:55 +01:00
parent 4d7f0d6d83
commit 72ba193a1e
3 changed files with 15 additions and 16 deletions

View File

@@ -3,7 +3,7 @@
namespace Kletellier\PdoWrapper;
class QueryBuilder
{
{
protected array $columns;
protected array $wheres;
protected array $orders;
@@ -20,7 +20,7 @@ class QueryBuilder
{
$this->table = $table;
$this->pk = $pk;
$this->connection = $connection;
$this->connection = $connection;
$this->reset();
}
@@ -194,7 +194,7 @@ class QueryBuilder
}
private function getData(): mixed
{
{
return Connection::getInstance($this->connection)->getSelectQuery($this->getQuery());
}