Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel authored and actions-user committed Jan 10, 2022
1 parent ce376f2 commit 244021a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Support/HasSendsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
namespace Wnx\Sends\Support;

use Illuminate\Database\Eloquent\Relations\MorphToMany;
use Wnx\Sends\Models\Send;

trait HasSendsTrait
{
public function sends(): MorphToMany
{
return $this
->morphToMany( config('sends.send_model'), 'sendable','sendables','sendable_id','send_id');
->morphToMany(config('sends.send_model'), 'sendable', 'sendables', 'sendable_id', 'send_id');
}
}

0 comments on commit 244021a

Please sign in to comment.