Skip to content

Commit

Permalink
refactor(CRUD):优化生成的模型的 onBeforeInsert 方法返回值类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
build-admin committed Jun 26, 2024
1 parent 1faa518 commit 4e2053f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

protected static function onBeforeInsert($model)
protected static function onBeforeInsert($model): void
{
{%setSnowFlakeIdCode%}
}

0 comments on commit 4e2053f

Please sign in to comment.