Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Nov 7, 2024
1 parent 360b5e4 commit 4f9eaea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/Http/Resources/TurnoutResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,16 @@ class TurnoutResource extends JsonResource
public function toArray(Request $request): array
{
return [
/**
* Total number of voters subscribed to the election permanent list .
* @var integer
*/
'initial_total' => $this->initial_total,

/**
* Total number of people who voted in the election.
* @var integer
*/
'total' => $this->total,
];
}
Expand Down

0 comments on commit 4f9eaea

Please sign in to comment.