mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-13 22:52:09 +00:00
21 lines
427 B
PHP
21 lines
427 B
PHP
<?php
|
|
|
|
namespace App\Data\Rooms;
|
|
|
|
use App\Models\Player;
|
|
use App\Models\Room;
|
|
|
|
final readonly class RoomPageData
|
|
{
|
|
/**
|
|
* @param array{average: string|null, median: string|null}|null $statistics
|
|
*/
|
|
public function __construct(
|
|
public Room $room,
|
|
public Player $currentPlayer,
|
|
public bool $isFavorite,
|
|
public ?string $currentVote,
|
|
public ?array $statistics,
|
|
) {}
|
|
}
|