Skip to content

Commit

Permalink
Fix invalid typehint in ProductAttribute model (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dartui committed Oct 29, 2020
1 parent 3912daf commit 75d12f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Model/ProductAttribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

use Corcel\Concerns\Aliases;
use Corcel\Model;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Collection;

/**
* @property string|null $id
Expand All @@ -28,7 +28,7 @@ class ProductAttribute extends Model
/**
* The terms collection.
*
* @var \Illuminate\Database\Eloquent\Collection<mixed>
* @var \Illuminate\Support\Collection<mixed>
*/
public $terms;

Expand Down Expand Up @@ -68,7 +68,7 @@ class ProductAttribute extends Model
/**
* Set the product terms.
*
* @param \Illuminate\Database\Eloquent\Collection<mixed> $terms
* @param \Illuminate\Support\Collection<mixed> $terms
*/
public function setTerms(Collection $terms): void
{
Expand Down

0 comments on commit 75d12f4

Please sign in to comment.