Skip to content

Commit 9d1f2c6

Browse files
author
Andreas Aagaard
committed
# Initial
1 parent 2db65b2 commit 9d1f2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Activity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function subject(): MorphTo
4141

4242
public function causer(): MorphTo
4343
{
44-
return $this->morphTo();
44+
return $this->morphTo('causer', 'causerType', 'causerID', 'causerID');
4545
}
4646

4747
public function getExtraProperty(string $propertyName)

0 commit comments

Comments
 (0)