2020-01-19 21:50:38 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Remote;
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
|
|
|
|
class InstallationDataRequest extends FormRequest
|
|
|
|
{
|
2022-10-14 16:59:20 +00:00
|
|
|
public function authorize(): bool
|
2020-01-19 21:50:38 +00:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2022-10-14 16:59:20 +00:00
|
|
|
public function rules(): array
|
2020-01-19 21:50:38 +00:00
|
|
|
{
|
|
|
|
return [
|
|
|
|
'successful' => 'present|boolean',
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|