Skip to content

Commit 43ec6e3

Browse files
authored
Fix param types (#336)
1 parent c6a014e commit 43ec6e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Entity/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class Image extends AbstractEntity
2828

2929
public string $distribution;
3030

31-
public string $slug;
31+
public ?string $slug;
3232

3333
public int $minDiskSize;
3434

src/Entity/Size.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class Size extends AbstractEntity
3030

3131
public int $disk;
3232

33-
public int $transfer;
33+
public int|float $transfer;
3434

3535
public int|float $priceMonthly;
3636

0 commit comments

Comments
 (0)