Skip to content

Commit

Permalink
update 057.php
Browse files Browse the repository at this point in the history
  • Loading branch information
warcooft authored Aug 10, 2024
1 parent c23ff44 commit c6a96d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/models/model/057.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class UserModel extends Model
{
// ...
protected $casts = [
protected array $casts = [
'id' => 'int',
'birthdate' => '?datetime',
'hobbies' => 'json-array',
Expand Down

0 comments on commit c6a96d6

Please sign in to comment.