Skip to content

Commit 102dfbe

Browse files
cerwactions-user
authored andcommitted
Fix styling
1 parent 400ee64 commit 102dfbe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Traits/LogsActivity.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected static function bootLogsActivity(): void
3535
// Hook into eloquent events that only specified in $eventToBeRecorded array,
3636
// checking for "updated" event hook explicitly to temporary hold original
3737
// attributes on the model as we'll need them later to compare against.
38-
38+
3939
static::eventsToBeRecorded()->each(function ($eventName) {
4040
if ($eventName === 'updated') {
4141
static::updating(function (Model $model) {
@@ -49,6 +49,7 @@ protected static function bootLogsActivity(): void
4949

5050
if (! $model->shouldLogEvent($eventName)) {
5151
$model->activitylogOptions = null;
52+
5253
return;
5354
}
5455

@@ -61,11 +62,13 @@ protected static function bootLogsActivity(): void
6162
// Submitting empty description will cause place holder replacer to fail.
6263
if ($description == '') {
6364
$model->activitylogOptions = null;
65+
6466
return;
6567
}
6668

6769
if ($model->isLogEmpty($changes) && ! $model->activitylogOptions->submitEmptyLogs) {
6870
$model->activitylogOptions = null;
71+
6972
return;
7073
}
7174

0 commit comments

Comments
 (0)