Browse Source

remove deprecated constructions

PHP-GTK3
yggverse 5 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 @@ -15,8 +15,6 @@ class Gemtext extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Cont
bool $preformatted = false
): void
{
$this->_source = $value;
$document = new Document(
$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 @@ -10,8 +10,6 @@ class Plain extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Conten
string $value
): void
{
$this->_source = $value;
$this->gtk->set_markup(
sprintf(
'<tt>%s</tt>',

Loading…
Cancel
Save