Fixed subnet optional params
testing/ogcore-api/pipeline/pr-main Build queued... Details
testing/ogcore-api/pipeline/head This commit looks good Details

pull/14/head
Manuel Aranda Rosales 2024-11-21 14:55:47 +01:00
parent bc5dd3060e
commit 4636a109d8
1 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ class Subnet extends AbstractEntity
#[ORM\Column(length: 255)]
private ?string $ipAddress = null;
#[ORM\Column(length: 255)]
#[ORM\Column(length: 255, nullable: true)]
private ?string $nextServer = null;
#[ORM\Column(length: 255)]
#[ORM\Column(length: 255, nullable: true)]
private ?string $bootFileName = null;
/**
@ -76,7 +76,7 @@ class Subnet extends AbstractEntity
return $this->nextServer;
}
public function setNextServer(string $nextServer): static
public function setNextServer(?string $nextServer): static
{
$this->nextServer = $nextServer;
@ -88,7 +88,7 @@ class Subnet extends AbstractEntity
return $this->bootFileName;
}
public function setBootFileName(string $bootFileName): static
public function setBootFileName(?string $bootFileName): static
{
$this->bootFileName = $bootFileName;