32 - Expose stateless distribution preview endpoint
This commit is contained in:
parent
d6f47dea66
commit
468f60da7f
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ class ProjectionPreviewOutput
|
||||||
|
|
||||||
public int $totalAllocated;
|
public int $totalAllocated;
|
||||||
|
|
||||||
public int $unallocated;
|
public ?int $unallocated;
|
||||||
|
|
||||||
public function __construct(Result $result)
|
public function __construct(Result $result)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ class Result
|
||||||
return $this->totalAllocated;
|
return $this->totalAllocated;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUnallocated(): int
|
public function getUnallocated(): ?int
|
||||||
{
|
{
|
||||||
return $this->unallocated;
|
return $this->unallocated;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue