Skip to content

Commit c450919

Browse files
AzGasimgithub-actions[bot]
authored andcommitted
Fix styling
1 parent c631a37 commit c450919

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/media/src/Models/Media.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public function registerMediaConversions(?SpatieMedia $media = null): void
6565
->quality(80);
6666
}
6767

68-
6968
protected static function booted()
7069
{
7170
parent::boot();
@@ -91,14 +90,14 @@ protected static function booted()
9190
$modelClass = $usable->media_usable_type;
9291
$model = $modelClass::find($usable->media_usable_id);
9392

94-
if (!$model) {
93+
if (! $model) {
9594
continue;
9695
}
9796

9897
foreach ($model->getAttributes() as $field => $value) {
9998
$jsonData = json_decode($value, true);
10099

101-
if (!is_array($jsonData)) {
100+
if (! is_array($jsonData)) {
102101
continue;
103102
}
104103

0 commit comments

Comments
 (0)