Skip to content

Commit f60d277

Browse files
authored
Merge pull request #9115 from warcooft/docs-model
docs: add missing property types
2 parents 3806ff5 + c6a96d6 commit f60d277

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)