koel/app/Http/Requests/API/ChangeSongsVisibilityRequest.php
2024-07-06 17:44:41 +02:00

17 lines
301 B
PHP

<?php
namespace App\Http\Requests\API;
/**
* @property-read array<string> $songs
*/
class ChangeSongsVisibilityRequest extends Request
{
/** @return array<mixed> */
public function rules(): array
{
return [
'songs' => 'required|exists:songs,id',
];
}
}