Skip to content

Commit f536d30

Browse files
Merge pull request #290 from balda38/immutable_dates
Add parsing of immutable dates
2 parents 10a1733 + d61835d commit f536d30

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)