Browse Source

remove deprecated constructions

PHP-GTK3
yggverse 4 months ago
parent
commit
30b386dd44
  1. 2
      src/Entity/Browser/Container/Page/Content/Gemtext.php
  2. 2
      src/Entity/Browser/Container/Page/Content/Plain.php

2
src/Entity/Browser/Container/Page/Content/Gemtext.php

@ -15,8 +15,6 @@ class Gemtext extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Cont
bool $preformatted = false bool $preformatted = false
): void ): void
{ {
$this->_source = $value;
$document = new Document( $document = new Document(
$value $value
); );

2
src/Entity/Browser/Container/Page/Content/Plain.php

@ -10,8 +10,6 @@ class Plain extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Conten
string $value string $value
): void ): void
{ {
$this->_source = $value;
$this->gtk->set_markup( $this->gtk->set_markup(
sprintf( sprintf(
'<tt>%s</tt>', '<tt>%s</tt>',

Loading…
Cancel
Save