Skip to content

Commit

Permalink
Merge pull request #71 from Spomky-Labs/bugs/wrong-fallback-types
Browse files Browse the repository at this point in the history
Fix image and font fallbacks
  • Loading branch information
Spomky authored Feb 10, 2024
2 parents c187211 + 3c25f31 commit c092a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dto/Workbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ final class Workbox
public null|Url $pageFallback = null;

#[SerializedName('image_fallback')]
public null|Url $imageFallback = null;
public null|Asset $imageFallback = null;

#[SerializedName('font_fallback')]
public null|Url $fontFallback = null;
public null|Asset $fontFallback = null;

/**
* @var array<Url>
Expand Down

0 comments on commit c092a3d

Please sign in to comment.