diff --git a/src/Medoo.php b/src/Medoo.php index 6d4bad89..bb5e1ebf 100644 --- a/src/Medoo.php +++ b/src/Medoo.php @@ -867,7 +867,7 @@ protected function dataImplode(array $data, array &$map, string $conjunctor): st $operator = $match['operator'] ?? null; if ($isIndex && isset($match[4]) && in_array($operator, ['>', '>=', '<', '<=', '=', '!='])) { - $stack[] = "${column} ${operator} " . $this->columnQuote($match[4]); + $stack[] = "{$column} {$operator} " . $this->columnQuote($match[4]); continue; } @@ -1318,7 +1318,7 @@ protected function buildJoin(string $table, array $join, array &$map): string $tableName .= ' AS ' . $this->tableQuote($match['alias']); } - $tableJoin[] = $type[$match['join']] . " JOIN ${tableName} ${relation}"; + $tableJoin[] = $type[$match['join']] . " JOIN {$tableName} {$relation}"; } return implode(' ', $tableJoin);