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