Skip to content

Commit c6a96d6

Browse files
authored
update 057.php
1 parent c23ff44 commit c6a96d6

File tree

1 file changed

+1
-1
lines changed
  • user_guide_src/source/models/model

1 file changed

+1
-1
lines changed

user_guide_src/source/models/model/057.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class UserModel extends Model
88
{
99
// ...
10-
protected $casts = [
10+
protected array $casts = [
1111
'id' => 'int',
1212
'birthdate' => '?datetime',
1313
'hobbies' => 'json-array',

0 commit comments

Comments
 (0)