改名
This commit is contained in:
@@ -55,11 +55,11 @@ class Command extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param bool $isInsert
|
* @param bool $isInsert
|
||||||
* @param bool|null $hasAutoIncrement
|
* @param mixed $hasAutoIncrement
|
||||||
* @return int|bool|array|string|null
|
* @return int|bool|array|string|null
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function save(bool $isInsert = TRUE, ?bool $hasAutoIncrement = null): int|bool|array|string|null
|
public function save(bool $isInsert = TRUE, mixed $hasAutoIncrement = null): int|bool|array|string|null
|
||||||
{
|
{
|
||||||
return $this->execute(static::EXECUTE, $isInsert, $hasAutoIncrement);
|
return $this->execute(static::EXECUTE, $isInsert, $hasAutoIncrement);
|
||||||
}
|
}
|
||||||
@@ -117,7 +117,7 @@ class Command extends Component
|
|||||||
* @return int|bool|array|string|null
|
* @return int|bool|array|string|null
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private function execute($type, $isInsert = null, ?bool $hasAutoIncrement = null): int|bool|array|string|null
|
private function execute($type, $isInsert = null, mixed $hasAutoIncrement = null): int|bool|array|string|null
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$this->debug('Execute: ' . $this->sql);
|
$this->debug('Execute: ' . $this->sql);
|
||||||
|
|||||||
Reference in New Issue
Block a user