Browse Source

set default value on null given

PHP-GTK3
yggverse 4 months ago
parent
commit
6086c6a687
  1. 2
      src/Abstract/Entity/Entry.php

2
src/Abstract/Entity/Entry.php

@ -67,7 +67,7 @@ abstract class Entry
): void ): void
{ {
$this->gtk->set_text( $this->gtk->set_text(
trim( is_null($value) ? $this->_value : trim(
strval( strval(
$value $value
) )

Loading…
Cancel
Save