Skip to content

Commit

Permalink
lint + phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioGattolla committed Jan 28, 2025
1 parent e44615f commit 4e81921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client/TelegraphResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function telegraphMessageId(): int|null
return (int) $this->json('result.message_id');
}

public function dump(?string $key = null): static
public function dump(mixed $key = null): static
{
dump($this->json($key));

Expand All @@ -41,7 +41,7 @@ public function dump(?string $key = null): static
/**
* @return never-returns
*/
public function dd(?string $key = null): void
public function dd(mixed $key = null): void
{
dd($this->json($key));
}
Expand Down

0 comments on commit 4e81921

Please sign in to comment.