Browse Source

rename setter

PHP-GTK3
yggverse 5 months ago
parent
commit
2cb2205b1a
  1. 2
      src/Abstract/Entity/Browser/Container/Page/Content/Markup.php
  2. 6
      src/Entity/Browser/Container/Page/Content.php
  3. 2
      src/Entity/Browser/Container/Page/Content/Gemtext.php
  4. 2
      src/Entity/Browser/Container/Page/Content/Plain.php

2
src/Abstract/Entity/Browser/Container/Page/Content/Markup.php

@ -71,7 +71,7 @@ abstract class Markup
string $href string $href
); );
abstract public function setSource( abstract public function set(
string $value string $value
): void; ): void;
} }

6
src/Entity/Browser/Container/Page/Content.php

@ -77,7 +77,7 @@ class Content
$this $this
); );
$document->setSource( $document->set(
$data $data
); );
@ -89,7 +89,7 @@ class Content
$this $this
); );
$document->setSource( $document->set(
$data $data
); );
@ -110,7 +110,7 @@ class Content
$this $this
); );
$document->setSource( $document->set(
_('MIME type not supported') _('MIME type not supported')
); );
} }

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

@ -11,7 +11,7 @@ use \Yggverse\Net\Address;
class Gemtext extends Markup class Gemtext extends Markup
{ {
public function setSource( public function set(
string $value, string $value,
string | null &$title = null, string | null &$title = null,
bool $preformatted = false bool $preformatted = false

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

@ -8,7 +8,7 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Content\Markup;
class Plain extends Markup class Plain extends Markup
{ {
public function setSource( public function set(
string $value string $value
): void ): void
{ {

Loading…
Cancel
Save