Skip to content

Commit

Permalink
Run Laravel Pint (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverearl authored Dec 12, 2024
1 parent b6e0ce8 commit 97a439a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Requests/RoomRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ public function toArray(): array
'note' => $this->note,
'backchannelingEnabled' => $this->backchannelingEnabled,
'nomiUuids' => is_array($this->nomiUuids)
? array_map(fn(string|Nomi $nomi): string => $nomi instanceof Nomi
? array_map(
fn(string|Nomi $nomi): string => $nomi instanceof Nomi
? $nomi->uuid
: $nomi,
$this->nomiUuids,
)
: null,
], static fn (mixed $v): bool => $v !== null);
], static fn(mixed $v): bool => $v !== null);
}

/** @inheritDoc */
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/RoomTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
);


$api->updateRoom($room, $update);
$api->updateRoom($room, $update);
})->throws(InvalidArgumentException::class);

it('can delete a room', function (): void {
Expand Down

0 comments on commit 97a439a

Please sign in to comment.