2
0
Fork 0
mirror of https://github.com/koel/koel synced 2024-12-28 21:43:07 +00:00
koel/app/Http/Requests/API/SearchRequest.php

16 lines
232 B
PHP
Raw Normal View History

2022-06-10 10:47:46 +00:00
<?php
2023-06-05 21:46:41 +00:00
namespace App\Http\Requests\API;
2022-06-10 10:47:46 +00:00
/**
* @property-read string $q
*/
class SearchRequest extends Request
{
/** @return array<mixed> */
public function rules(): array
{
return ['q' => 'required'];
}
}