Skip to content

Commit

Permalink
Fix casts in quote model (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Oct 9, 2024
1 parent 9380069 commit f9f661e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Quote.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Database\Eloquent\Builder;
use Rapidez\Core\Actions\DecodeJwt;
use Rapidez\Core\Casts\CommaSeparatedToIntegerArray;
use Rapidez\Core\Models\Scopes\IsActiveScope;

class Quote extends Model
Expand All @@ -15,7 +16,6 @@ class Quote extends Model
protected $guarded = [];

protected $casts = [
'items' => QuoteItems::class,
'cross_sells' => CommaSeparatedToIntegerArray::class,
];

Expand Down

0 comments on commit f9f661e

Please sign in to comment.