mirror of
https://github.com/koel/koel
synced 2024-12-20 01:23:16 +00:00
17 lines
328 B
PHP
17 lines
328 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\V6\API;
|
|
|
|
use App\Http\Requests\API\Request;
|
|
|
|
/** @property-read array<string> $songs */
|
|
class DeleteSongsRequest extends Request
|
|
{
|
|
/** @return array<mixed> */
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'songs.*' => 'required|exists:songs,id',
|
|
];
|
|
}
|
|
}
|