|
5 | 5 | namespace Elegantly\Invoices\Models; |
6 | 6 |
|
7 | 7 | use Brick\Money\Money; |
8 | | -use Carbon\Carbon; |
| 8 | +use Carbon\CarbonInterface; |
9 | 9 | use Elegantly\Invoices\Casts\Discounts; |
10 | 10 | use Elegantly\Invoices\Contracts\HasLabel; |
11 | 11 | use Elegantly\Invoices\Database\Factories\InvoiceFactory; |
|
38 | 38 | * @property ?Invoice $credit |
39 | 39 | * @property string $type |
40 | 40 | * @property string $state |
41 | | - * @property ?Carbon $state_set_at |
| 41 | + * @property ?CarbonInterface $state_set_at |
42 | 42 | * @property string $description |
43 | 43 | * @property ?array<string, mixed> $seller_information |
44 | 44 | * @property ?array<string, mixed> $buyer_information |
45 | | - * @property ?Carbon $due_at |
| 45 | + * @property ?CarbonInterface $due_at |
46 | 46 | * @property ?string $tax_type |
47 | 47 | * @property ?string $tax_exempt |
48 | 48 | * @property Collection<int, InvoiceItem> $items |
|
55 | 55 | * @property ?Model $invoiceable |
56 | 56 | * @property ?int $invoiceable_id |
57 | 57 | * @property ?string $invoiceable_type |
58 | | - * @property Carbon $created_at |
59 | | - * @property Carbon $updated_at |
| 58 | + * @property CarbonInterface $created_at |
| 59 | + * @property CarbonInterface $updated_at |
60 | 60 | * @property InvoiceDiscount[] $discounts |
61 | 61 | * @property ?array<array-key, mixed> $metadata |
62 | 62 | * @property ?Money $subtotal_amount |
|
0 commit comments