koel/app/Http/Requests/API/PlaylistSyncRequest.php

16 lines
234 B
PHP

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