Skip to content

Commit b7995cb

Browse files
authored
Merge pull request #5930 from laravel/explain-nullable-column
[7.x] Update eloquent-mutators.md
2 parents b2abecb + 71d9b16 commit b7995cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eloquent-mutators.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ Now the `is_admin` attribute will always be cast to a boolean when you access it
191191
//
192192
}
193193

194+
> {note} Attributes that are `null` will not be cast.
195+
194196
<a name="custom-casts"></a>
195197
### Custom Casts
196198

0 commit comments

Comments
 (0)