Skip to content

Commit 3b3c4ef

Browse files
committed
Allow chaining on scope
1 parent 89742df commit 3b3c4ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Schema/Relationship.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ public function noLinks()
137137
public function scope(callable $callback)
138138
{
139139
$this->listeners['scope'][] = $callback;
140+
141+
return $this;
140142
}
141143

142144
public function getType()

0 commit comments

Comments
 (0)