mirror of
https://github.com/koel/koel
synced 2024-12-24 03:23:06 +00:00
20 lines
360 B
PHP
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',
|
|
];
|
|
}
|
|
}
|