Skip to content

Commit

Permalink
Use table factory to build table instead of hard coding the table ins…
Browse files Browse the repository at this point in the history
…tance
  • Loading branch information
PeeHaa committed Apr 18, 2019
1 parent b41807c commit dedf166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QueryBuilder/Statement/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function __construct(

public function from(string $table): self
{
$this->from = new From(new Table($this->quoteStyle, $table));
$this->from = new From($this->tableFactory->buildFromString($table));

return $this;
}
Expand Down

0 comments on commit dedf166

Please sign in to comment.