Skip to content

Commit

Permalink
Added support for NULL return value if setNullable() was used.
Browse files Browse the repository at this point in the history
  • Loading branch information
radekdostal committed Dec 12, 2018
1 parent fb0d3db commit 285c178
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/DatePicker/DatePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getValue()
return $date;
}

return $this->value;
return parent::getValue();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/DateTimePicker/DateTimePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getValue()
return $datetime;
}

return $this->value;
return parent::getValue();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/TbDatePicker/TbDatePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getValue()
return $date;
}

return $this->value;
return parent::getValue();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/TbDateTimePicker/TbDateTimePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getValue()
return $datetime;
}

return $this->value;
return parent::getValue();
}

/**
Expand Down

0 comments on commit 285c178

Please sign in to comment.