misc_pterodactyl-panel/app/Http/Requests/Api/Application/Nests/StoreNestRequest.php

15 lines
332 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Http\Requests\Api\Application\Nests;
2021-09-13 07:53:10 +00:00
use Pterodactyl\Models\Nest;
use Pterodactyl\Http\Requests\Api\Application\ApplicationApiRequest;
class StoreNestRequest extends ApplicationApiRequest
{
2021-09-13 07:53:10 +00:00
public function rules(array $rules = null): array
{
return $rules ?? Nest::getRules();
}
}