Skip to content

Commit 1228f84

Browse files
committed
#1930 add required return statements
1 parent 662cd89 commit 1228f84

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Relations/BelongsToMany.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public function sync($ids, $detaching = true)
169169
public function updateExistingPivot($id, array $attributes, $touch = true)
170170
{
171171
// Do nothing, we have no pivot table.
172+
return $this;
172173
}
173174

174175
/** @inheritdoc */

src/Schema/Blueprint.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ public function create($options = [])
274274
public function drop()
275275
{
276276
$this->collection->drop();
277+
278+
return $this;
277279
}
278280

279281
/** @inheritdoc */

0 commit comments

Comments
 (0)