diff --git a/SqlBuilder.php b/SqlBuilder.php index 4a01174..42a943d 100644 --- a/SqlBuilder.php +++ b/SqlBuilder.php @@ -78,6 +78,7 @@ class SqlBuilder extends Component $params = $this->query->params; $this->query->params = []; $array = $this->makeParams($attributes); + var_dump($params, $array); foreach ($params as $name => $value) { $this->query->pushParam($value); } @@ -146,9 +147,7 @@ class SqlBuilder extends Component */ public function delete(): string { - return 'DELETE FROM ' . - $this->getFromAlias() . ' ' . - $this->make(); + return 'DELETE FROM ' . $this->getFromAlias() . ' ' . $this->make(); }