Skip to content

Commit

Permalink
Fix CS;
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-thomas committed Nov 29, 2023
1 parent 94688d4 commit e561201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Relations/MorphToMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function sync($ids, $detaching = true)
true => $this->parent->{$this->relatedPivotKey} ?: [],
false => $this->parent->{$this->relationName} ?: [],
};

if ($current instanceof Collection) {
$current = $this->parseIds($current);
}
Expand Down

0 comments on commit e561201

Please sign in to comment.