mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Co-authored-by: DaneEveritt <dane@daneeveritt.com> Co-authored-by: danny6167 <danielb@purpleflaghosting.com> Co-authored-by: MrSoulPenguin <28676680+MrSoulPenguin@users.noreply.github.com>
25 lines
451 B
PHP
25 lines
451 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Api\Remote;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class InstallationDataRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* @return array<string, string|string[]>
|
|
*/
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'successful' => 'present|boolean',
|
|
'reinstall' => 'sometimes|boolean',
|
|
];
|
|
}
|
|
}
|