Skip to content

Commit

Permalink
Lint code [PUB-258]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-dev-trev committed Oct 8, 2024
1 parent 602138d commit e688a4f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public function up(): void
// Update the size in the content JSON column to 'l'
foreach ($digiPubImageBlocks as $block) {
$content = json_decode($block->content, associative: true);

$content['size'] = 'l';
$content['use_alt_background'] = true;
$content['use_contain'] = true;

// Update the block with the new JSON
DB::table(table: 'blocks')
->where(column: 'id', operator: $block->id)
Expand All @@ -34,4 +34,4 @@ public function down(): void
{
// There's no going back...
}
};
};

0 comments on commit e688a4f

Please sign in to comment.