Skip to content

Commit 1dc33cd

Browse files
cklei-carlygithub-actions[bot]
authored andcommitted
Fix styling
1 parent b1520b2 commit 1dc33cd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/Base/Filament/Concerns/ContentFormTrait.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ protected function propertyDataIsDirtyPreCheck($from, $to)
389389
return;
390390
}
391391

392-
393392
$modelTmpContentVersion = app(InspireCmsConfig::getContentVersionModelClass(), [
394393
'attributes' => [
395394
'from_data' => $from,
@@ -399,7 +398,6 @@ protected function propertyDataIsDirtyPreCheck($from, $to)
399398

400399
$diff = $modelTmpContentVersion->getDifferences();
401400

402-
403401
// Display notification if no differences found
404402
if (empty($diff)) {
405403
Notification::make()
@@ -412,7 +410,7 @@ protected function propertyDataIsDirtyPreCheck($from, $to)
412410
}
413411

414412
} catch (Throwable $th) {
415-
//throw $th;
413+
// throw $th;
416414
}
417415
}
418416

src/Models/Scopes/ContentVersionDetailScope.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function apply($builder, Model $model)
6969
->from($cvPublishedModel->getTable(), '_cv_base_p')
7070
// content version id = publish log version id
7171
->whereRaw("_cv_t2_p.{$cvPK} = _cv_base_p.$cvPublishedFK")
72-
->whereRaw("_cv_base_p.published_at <= ?", [now()])
72+
->whereRaw('_cv_base_p.published_at <= ?', [now()])
7373
)
7474
->select('_cv_t2_p.*');
7575

@@ -100,7 +100,6 @@ public function apply($builder, Model $model)
100100
])
101101
->addSelect($model->qualifyColumn('*'));
102102

103-
104103
$model->withCasts([
105104
'__latest_version_publish_dt' => 'datetime',
106105
'__latest_version_dt' => 'datetime',

0 commit comments

Comments
 (0)