Skip to content

Commit

Permalink
Use correct class name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ash-jc-allen committed Aug 27, 2024
1 parent 0183137 commit aee14e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Models/ShortURL.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace AshAllenDesign\ShortURL\Models;

use AshAllenDesign\ShortURL\Models\Factories\ShortURLFactory;
use Carbon\CarbonInterface;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Factories\Factory;
Expand Down Expand Up @@ -35,7 +36,7 @@
class ShortURL extends Model
{
/**
* @use HasFactory<ShortURL>
* @use HasFactory<ShortURLFactory>
*/
use HasFactory;

Check failure on line 41 in src/Models/ShortURL.php

View workflow job for this annotation

GitHub Actions / PHP8.1 - Laravel 10.*

PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<AshAllenDesign\ShortURL\Models\Factories\ShortURLFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.

Check failure on line 41 in src/Models/ShortURL.php

View workflow job for this annotation

GitHub Actions / PHP8.2 - Laravel 10.*

PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<AshAllenDesign\ShortURL\Models\Factories\ShortURLFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.

Check failure on line 41 in src/Models/ShortURL.php

View workflow job for this annotation

GitHub Actions / PHP8.3 - Laravel 10.*

PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<AshAllenDesign\ShortURL\Models\Factories\ShortURLFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.

Expand Down
3 changes: 2 additions & 1 deletion src/Models/ShortURLVisit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace AshAllenDesign\ShortURL\Models;

use AshAllenDesign\ShortURL\Models\Factories\ShortURLVisitFactory;
use Carbon\CarbonInterface;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
Expand All @@ -27,7 +28,7 @@
class ShortURLVisit extends Model
{
/**
* @use HasFactory<ShortURLVisit>
* @use HasFactory<ShortURLVisitFactory>
*/
use HasFactory;

Check failure on line 33 in src/Models/ShortURLVisit.php

View workflow job for this annotation

GitHub Actions / PHP8.1 - Laravel 10.*

PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<AshAllenDesign\ShortURL\Models\Factories\ShortURLVisitFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.

Check failure on line 33 in src/Models/ShortURLVisit.php

View workflow job for this annotation

GitHub Actions / PHP8.2 - Laravel 10.*

PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<AshAllenDesign\ShortURL\Models\Factories\ShortURLVisitFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.

Check failure on line 33 in src/Models/ShortURLVisit.php

View workflow job for this annotation

GitHub Actions / PHP8.3 - Laravel 10.*

PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<AshAllenDesign\ShortURL\Models\Factories\ShortURLVisitFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.

Expand Down

0 comments on commit aee14e4

Please sign in to comment.