7
0
mirror of https://github.com/pelican-dev/panel.git synced 2025-06-12 17:48:59 +02:00
Matthew Penner cbcf62086f
Upgrade to Laravel 9 ()
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00

18 lines
415 B
PHP

<?php
namespace Pterodactyl\Http\Requests\Api\Application\Nodes;
class GetDeployableNodesRequest extends GetNodesRequest
{
public function rules(): array
{
return [
'page' => 'integer',
'memory' => 'required|integer|min:0',
'disk' => 'required|integer|min:0',
'location_ids' => 'array',
'location_ids.*' => 'integer',
];
}
}