Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioGattolla committed Feb 12, 2025
1 parent 1164504 commit 587a4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payments/TelegraphInvoicePayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function providerData(array $data): static
return $telegraph;
}

public function image(string $url, int $sizeInBytes = null, int $width = null, int $height = null): static
public function image(string $url, ?int $sizeInBytes = null, ?int $width = null, ?int $height = null): static
{
$telegraph = clone $this;

Expand Down

0 comments on commit 587a4e9

Please sign in to comment.