改名
This commit is contained in:
@@ -419,7 +419,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private function setPrimary($lastId, $param)
|
private function setPrimary($lastId, $param): mixed
|
||||||
{
|
{
|
||||||
if ($this->hasAutoIncrement()) {
|
if ($this->hasAutoIncrement()) {
|
||||||
return $this->setAttribute($this->getAutoIncrement(), (int)$lastId);
|
return $this->setAttribute($this->getAutoIncrement(), (int)$lastId);
|
||||||
|
|||||||
Reference in New Issue
Block a user