misc_pterodactyl-panel/app/Http/Requests/Api/Remote/InstallationDataRequest.php

21 lines
349 B
PHP
Raw Permalink Normal View History

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