Fixed subnet optional params
parent
bc5dd3060e
commit
4636a109d8
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue