koel/app/Http/Requests/Download/SongRequest.php

18 lines
266 B
PHP
Raw Normal View History

2016-06-02 17:53:26 +00:00
<?php
namespace App\Http\Requests\Download;
2016-06-02 17:53:26 +00:00
2016-08-03 10:42:11 +00:00
/**
* @property array $songs
2016-08-03 10:42:11 +00:00
*/
2016-06-02 17:53:26 +00:00
class SongRequest extends Request
{
2020-12-22 20:11:22 +00:00
/** @return array<mixed> */
2018-08-30 03:11:47 +00:00
public function rules(): array
2016-06-02 17:53:26 +00:00
{
return [
'songs' => 'required|array',
];
}
}