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

20 lines
360 B
PHP

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