File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 66
77class Post
88{
9- protected $ id ;
9+ public $ id ;
1010
1111 protected $ WP_Post ;
1212
@@ -15,17 +15,17 @@ class Post
1515 'thumbnail_classes ' => '' ,
1616 ];
1717
18- protected $ title = '' ;
19- protected $ url = '' ;
20- protected $ slug = '' ;
21- protected $ content = '' ;
22- protected $ status = '' ;
23- protected $ format = '' ;
24- protected $ excerpt = '' ;
25- protected $ date = '' ;
26- protected $ dateModified = '' ;
27- protected $ parent ;
28- protected $ thumbnail = '' ;
18+ public string $ title = '' ;
19+ public string $ url = '' ;
20+ public string $ slug = '' ;
21+ public string $ content = '' ;
22+ public string $ status = '' ;
23+ public string $ format = '' ;
24+ public string $ excerpt = '' ;
25+ public Carbon $ date ;
26+ public Carbon $ dateModified = '' ;
27+ public \ WP_Post $ parent ;
28+ public string $ thumbnail = '' ;
2929
3030 /**
3131 * Set up
You can’t perform that action at this time.
0 commit comments