koel/app/Http/Requests/API/PlaylistSyncRequest.php
2020-12-22 21:11:22 +01:00

17 lines
276 B
PHP

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