Skip to content

Commit

Permalink
Fix compatibility with HasFactory (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel authored Jan 3, 2025
1 parent 623b955 commit e7a1372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.php_cs
.php_cs.cache
.phpunit.result.cache
.phpunit.cache
.phpunit.cache/test-results
build
composer.lock
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Send.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Send extends Model
'rejected_at' => 'immutable_datetime',
];

protected static function newFactory(): SendFactory
protected static function newFactory()
{
return new SendFactory();
}
Expand Down

0 comments on commit e7a1372

Please sign in to comment.