Skip to content

Commit

Permalink
Fixed print value for null option
Browse files Browse the repository at this point in the history
  • Loading branch information
rosell-dk committed Apr 7, 2024
1 parent ea7135f commit 8894af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Options/IntegerOrNullOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8894af5

Please sign in to comment.