From 61d9b9e4855ce69abede2a9aca07a20d7051cad7 Mon Sep 17 00:00:00 2001 From: dylanmaurits <76950827+dylanmaurits@users.noreply.github.com> Date: Tue, 11 Jul 2023 16:28:25 +0200 Subject: [PATCH] Update Select.php to fix deprecated functionality --- Setup/Methods/Select.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }