fixed some getters
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
8c2da0b9d8
commit
36e376337e
|
@ -28,7 +28,7 @@ class Nameserver
|
|||
*/
|
||||
public function getA(): string
|
||||
{
|
||||
return $this->a ?? 'na';
|
||||
return $this->a;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -36,7 +36,7 @@ class Nameserver
|
|||
*/
|
||||
public function getAaaa(): string
|
||||
{
|
||||
return $this->aaaa == 'na';
|
||||
return $this->aaaa;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue