misc_pterodactyl-panel/app/Http/Requests/Api/Application/Roles/StoreRoleRequest.php
2022-12-14 17:05:46 -07:00

14 lines
342 B
PHP

<?php
namespace Pterodactyl\Http\Requests\Api\Application\Roles;
use Pterodactyl\Models\AdminRole;
use Pterodactyl\Http\Requests\Api\Application\ApplicationApiRequest;
class StoreRoleRequest extends ApplicationApiRequest
{
public function rules(array $rules = null): array
{
return $rules ?? AdminRole::getRules();
}
}