Skip to content

Commit 0dbd0f7

Browse files
committed
Fix styling
1 parent 5cf4137 commit 0dbd0f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Concerns/HasDrafts.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ public function setLive(): void
197197
switch (true) {
198198
case $relation instanceof HasOne:
199199
if ($related = $this->{$relationName}) {
200-
201200
$replicated = $related->replicate();
202201

203202
$method = method_exists($replicated, 'getDraftableAttributes') ? 'getDraftableAttributes' : 'getAttributes';
@@ -208,7 +207,6 @@ public function setLive(): void
208207
break;
209208
case $relation instanceof HasMany:
210209
$this->{$relationName}()->get()->each(function ($model) use ($published, $relationName) {
211-
212210
$replicated = $model->replicate();
213211

214212
$method = method_exists($replicated, 'getDraftableAttributes') ? 'getDraftableAttributes' : 'getAttributes';

0 commit comments

Comments
 (0)