We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3806ff5 + c6a96d6 commit f60d277Copy full SHA for f60d277
user_guide_src/source/models/model/057.php
@@ -7,7 +7,7 @@
7
class UserModel extends Model
8
{
9
// ...
10
- protected $casts = [
+ protected array $casts = [
11
'id' => 'int',
12
'birthdate' => '?datetime',
13
'hobbies' => 'json-array',
0 commit comments