Skip to content

Commit 6c8f41a

Browse files
committed
add return type to match the userland use case
1 parent 58d7c63 commit 6c8f41a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Relations/MorphToMany.php

Lines changed: 1 addition & 1 deletion
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)