Files

28 lines
521 B
PHP
Raw Permalink Normal View History

2026-10-05 18:10:18 -04:00
<?php
declare(strict_types=1);
namespace Pterodactyl\Http\Requests\Api\Remote;
use Illuminate\Foundation\Http\FormRequest;
class ReportBackupRestoreRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
/**
2026-10-11 09:31:53 -04:00
* Whether the restore succeeded only picks the activity event that is logged.
*
2026-10-05 18:10:18 -04:00
* @return ValidationRules
*/
public function rules(): array
{
return [
'successful' => ['required', 'boolean'],
];
}
}