改名
This commit is contained in:
@@ -257,7 +257,7 @@ class Connection extends Component
|
|||||||
* @return Command
|
* @return Command
|
||||||
* @throws
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function createCommand($sql = null, $attributes = []): Command
|
public function createCommand($sql = null, array $attributes = []): Command
|
||||||
{
|
{
|
||||||
$command = new Command(['db' => $this, 'sql' => $sql]);
|
$command = new Command(['db' => $this, 'sql' => $sql]);
|
||||||
return $command->bindValues($attributes);
|
return $command->bindValues($attributes);
|
||||||
|
|||||||
Reference in New Issue
Block a user