diff --git a/src/Models/Casts/CollectionOfContacts.php b/src/Models/Casts/CollectionOfContacts.php index 95669e1..4fca1b1 100644 --- a/src/Models/Casts/CollectionOfContacts.php +++ b/src/Models/Casts/CollectionOfContacts.php @@ -13,7 +13,7 @@ class CollectionOfContacts implements CastsAttributes * Cast the given value. * * @param array $attributes - * @return \Illuminate\Support\Collection|null + * @return \Illuminate\Support\Collection<\MailCarrier\Dto\ContactDto>|null */ public function get(Model $model, string $key, mixed $value, array $attributes): ?Collection { diff --git a/src/Models/Log.php b/src/Models/Log.php index ab76b3b..588e602 100644 --- a/src/Models/Log.php +++ b/src/Models/Log.php @@ -9,7 +9,6 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\HasMany; -use Illuminate\Support\Collection; use Illuminate\Support\Facades\Config; use MailCarrier\Dto\ContactDto; use MailCarrier\Dto\LogTemplateDto;