eee
This commit is contained in:
+1
-1
@@ -312,7 +312,7 @@ class Connection extends Component
|
|||||||
*/
|
*/
|
||||||
public function createCommand(string $sql, array $attributes = []): Command
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user