This commit is contained in:
2025-07-14 18:34:02 +08:00
parent 2bf66fc17f
commit dcee10b77b
+1 -1
View File
@@ -312,7 +312,7 @@ class Connection extends Component
*/
public function createCommand(string $sql, array $attributes = []): Command
{
return (new Command(['connection' => $this, 'sql' => $sql]))->bindValues($attributes);
return new Command(['connection' => $this, 'sql' => $sql])->bindValues($attributes);
}