mirror of
https://github.com/koel/koel
synced 2024-12-26 20:43:05 +00:00
18 lines
328 B
PHP
18 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',
|
||
|
];
|
||
|
}
|
||
|
}
|