From 36e376337ee61f1a8c3dfea398284bff20657c91 Mon Sep 17 00:00:00 2001 From: tracer Date: Mon, 31 Jan 2022 19:18:02 +0100 Subject: [PATCH] fixed some getters Signed-off-by: tracer --- src/Entity/Nameserver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/Nameserver.php b/src/Entity/Nameserver.php index 275e079..93038d4 100644 --- a/src/Entity/Nameserver.php +++ b/src/Entity/Nameserver.php @@ -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; } /**