diff --git a/Setup/Methods/Select.php b/Setup/Methods/Select.php index df5fa9c2..10bcbf9f 100644 --- a/Setup/Methods/Select.php +++ b/Setup/Methods/Select.php @@ -122,7 +122,7 @@ public function where(string ...$where): self */ public function from(string $table, ?string $alias = null): self { - $this->from[] = null === $alias ? $table : "${table} AS ${alias}"; + $this->from[] = null === $alias ? $table : "{$table} AS {$alias}"; return $this; }