mirror of
https://github.com/koel/koel
synced 2024-12-19 17:13:09 +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',
|
||
|
];
|
||
|
}
|
||
|
}
|