From 8894af5a94e67b21cb37943074ee35eed1222644 Mon Sep 17 00:00:00 2001 From: rosell-dk <17592708+rosell-dk@users.noreply.github.com> Date: Sun, 7 Apr 2024 06:53:54 +0200 Subject: [PATCH] Fixed print value for null option --- src/Options/IntegerOrNullOption.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Options/IntegerOrNullOption.php b/src/Options/IntegerOrNullOption.php index 6c9e1a6..82a399f 100644 --- a/src/Options/IntegerOrNullOption.php +++ b/src/Options/IntegerOrNullOption.php @@ -36,7 +36,7 @@ public function check() public function getValueForPrint() { - if (gettype($this->getValue()) == null) { + if (gettype($this->getValue()) == 'NULL') { return 'null (not set)'; } return parent::getValueForPrint();