Skip to content

Commit

Permalink
phpstan checks
Browse files Browse the repository at this point in the history
  • Loading branch information
SecondeJK committed Dec 4, 2024
1 parent 7f13bff commit 46bfd5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Client/Exception/Validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Validation extends Request
public function __construct(
string $message = '',
int $code = 0,
Throwable $previous = null,
?Throwable $previous = null,
private readonly array $errors = []
) {
parent::__construct($message, $code, $previous);
Expand Down
4 changes: 2 additions & 2 deletions src/Meetings/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function updateRoom(string $id, array $payload): Room
return $room;
}

public function getAllListedRooms(string $start_id = null, string $end_id = null, int $size = 20): array
public function getAllListedRooms(?string $start_id = null, ?string $end_id = null, int $size = 20): array
{
$filterParams = [];

Expand Down Expand Up @@ -233,7 +233,7 @@ public function updateTheme(string $id, array $payload): ?ApplicationTheme
return $applicationTheme;
}

public function getRoomsByThemeId(string $themeId, string $startId = null, string $endId = null, int $size = 20): array
public function getRoomsByThemeId(string $themeId, ?string $startId = null, ?string $endId = null, int $size = 20): array
{
$this->api->setIsHAL(true);
$this->api->setCollectionName('rooms');
Expand Down

0 comments on commit 46bfd5c

Please sign in to comment.