Skip to content

Commit

Permalink
Merge pull request #378 from ibrunotome/patch-1
Browse files Browse the repository at this point in the history
Real Laravel 10 support
  • Loading branch information
themsaid authored Apr 28, 2023
2 parents 0f71fc5 + 0be002b commit c276383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"php": "^7.3||^7.4||^8.0",
"laravel/framework": "^7.0||^8.0||^9.0"
"laravel/framework": "^7.0||^8.0||^9.0|^10.0"
},
"autoload": {
"psr-4": {
Expand Down
10 changes: 1 addition & 9 deletions src/WinkPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,6 @@ class WinkPost extends AbstractWinkModel
*/
public $incrementing = false;

/**
* The attributes that should be mutated to dates.
*
* @var array
*/
public $dates = [
'publish_date',
];

/**
* The attributes that should be casted.
*
Expand All @@ -82,6 +73,7 @@ class WinkPost extends AbstractWinkModel
'meta' => 'array',
'published' => 'boolean',
'markdown' => 'boolean',
'publish_date' => 'datetime',
];

/**
Expand Down

0 comments on commit c276383

Please sign in to comment.