Skip to content

Commit d61835d

Browse files
committed
Add parsing of immutable dates
1 parent 69ce58e commit d61835d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/support/docblocks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ const castMapping: TypeMapping = {
231231
object: ["encrypted:object"],
232232
string: ["hashed"],
233233
"\\Illuminate\\Support\\Carbon": ["date", "datetime"],
234+
"\\Carbon\\CarbonImmutable": ["immutable_date", "immutable_datetime"],
234235
"\\Illuminate\\Support\\Collection": ["encrypted:collection"],
235236
};
236237

0 commit comments

Comments
 (0)