File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/Http/Controllers/Api/Application/Nodes Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ public function index(GetAllocationsRequest $request): array
7171 * Store new allocations for a given node.
7272 *
7373 * @param \Pterodactyl\Http\Requests\Api\Application\Allocations\StoreAllocationRequest $request
74- * @return array
74+ * @return \Illuminate\Http\Response
7575 *
7676 * @throws \Pterodactyl\Exceptions\Service\Allocation\CidrOutOfRangeException
7777 * @throws \Pterodactyl\Exceptions\Service\Allocation\InvalidPortMappingException
7878 * @throws \Pterodactyl\Exceptions\Service\Allocation\PortOutOfRangeException
7979 * @throws \Pterodactyl\Exceptions\Service\Allocation\TooManyPortsInRangeException
8080 */
81- public function store (StoreAllocationRequest $ request ): array
81+ public function store (StoreAllocationRequest $ request ): Response
8282 {
8383 $ this ->assignmentService ->handle ($ request ->getModel (Node::class), $ request ->validated ());
8484
You can’t perform that action at this time.
0 commit comments