koel/app/Http/Requests/API/PlaylistSyncRequest.php
2019-08-29 21:49:21 +02:00

16 lines
239 B
PHP

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