Skip to content

Commit 2968c34

Browse files
committed
add return type to match the userland use case
1 parent b725aba commit 2968c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Relations/MorphToMany.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function sync($ids, $detaching = true)
175175
}
176176

177177
/** @inheritdoc */
178-
public function updateExistingPivot($id, array $attributes, $touch = true)
178+
public function updateExistingPivot($id, array $attributes, $touch = true): void
179179
{
180180
// Do nothing, we have no pivot table.
181181
}

0 commit comments

Comments
 (0)