21 lines
397 B
PHP
21 lines
397 B
PHP
<?php
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Remote;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class InstallationDataRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'successful' => 'present|boolean',
|
|
'reinstall' => 'sometimes|boolean',
|
|
];
|
|
}
|
|
}
|