koel/app/Http/Requests/API/ScrobbleRequest.php

16 lines
250 B
PHP
Raw Normal View History

2020-09-13 22:04:07 +00:00
<?php
namespace App\Http\Requests\API;
/**
* @property int $timestamp
*/
class ScrobbleRequest extends Request
2020-09-13 22:04:07 +00:00
{
2020-12-22 20:11:22 +00:00
/** @return array<mixed> */
2020-09-13 22:04:07 +00:00
public function rules(): array
{
return ['timestamp' => 'required|numeric'];
}
}