File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1111 ],
1212 "require" : {
1313 "php" : " ^7.3||^7.4||^8.0" ,
14- "laravel/framework" : " ^7.0||^8.0||^9.0"
14+ "laravel/framework" : " ^7.0||^8.0||^9.0|^10.0 "
1515 },
1616 "autoload" : {
1717 "psr-4" : {
Original file line number Diff line number Diff line change @@ -64,15 +64,6 @@ class WinkPost extends AbstractWinkModel
6464 */
6565 public $ incrementing = false ;
6666
67- /**
68- * The attributes that should be mutated to dates.
69- *
70- * @var array
71- */
72- public $ dates = [
73- 'publish_date ' ,
74- ];
75-
7667 /**
7768 * The attributes that should be casted.
7869 *
@@ -82,6 +73,7 @@ class WinkPost extends AbstractWinkModel
8273 'meta ' => 'array ' ,
8374 'published ' => 'boolean ' ,
8475 'markdown ' => 'boolean ' ,
76+ 'publish_date ' => 'datetime ' ,
8577 ];
8678
8779 /**
You can’t perform that action at this time.
0 commit comments