Skip to content

Commit afe1280

Browse files
authored
Wait a second, that method doesn't return an array
1 parent b60c672 commit afe1280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Controllers/Api/Application/Nodes/AllocationController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)