Skip to content

Commit 9061a10

Browse files
committed
Fixed reference polymorphic relationship.
1 parent d72d1b8 commit 9061a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Balance.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ public function balanceable()
5757
*/
5858
public function reference()
5959
{
60-
return $this->morphTo();
60+
return $this->morphTo('referenceable');
6161
}
6262
}

0 commit comments

Comments
 (0)