We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2db65b2 commit 9d1f2c6Copy full SHA for 9d1f2c6
src/Models/Activity.php
@@ -41,7 +41,7 @@ public function subject(): MorphTo
41
42
public function causer(): MorphTo
43
{
44
- return $this->morphTo();
+ return $this->morphTo('causer', 'causerType', 'causerID', 'causerID');
45
}
46
47
public function getExtraProperty(string $propertyName)
0 commit comments