koel/app/Http/Requests/V6/API/SearchRequest.php

18 lines
271 B
PHP
Raw Normal View History

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