Lint
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
db6248999a
commit
d7cc80afe9
|
@ -15,6 +15,9 @@ class CreateExcelDocumentAction
|
|||
|
||||
public Form $form;
|
||||
|
||||
/**
|
||||
* @param Collection<int, Participant> $participants
|
||||
*/
|
||||
public function handle(Form $form, Collection $participants): string
|
||||
{
|
||||
$this->form = $form;
|
||||
|
|
|
@ -4,6 +4,7 @@ namespace App\Prevention\Enums;
|
|||
|
||||
use App\Member\Member;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
enum Prevention
|
||||
{
|
||||
|
@ -39,8 +40,9 @@ enum Prevention
|
|||
|
||||
/**
|
||||
* @param array<int, self> $preventions
|
||||
* @return Collection<int, array{letter: string, value: bool, tooltip: string}>
|
||||
*/
|
||||
public static function items(array $preventions)
|
||||
public static function items(array $preventions): Collection
|
||||
{
|
||||
return collect(static::cases())->map(fn ($case) => [
|
||||
'letter' => $case->letter(),
|
||||
|
|
Loading…
Reference in New Issue