diff --git a/src/Html/Renderables/Element.php b/src/Html/Renderables/Element.php index 9943a71..627adb1 100644 --- a/src/Html/Renderables/Element.php +++ b/src/Html/Renderables/Element.php @@ -83,17 +83,6 @@ final class Element implements Renderable $this->Contents = $Contents; } - /** - * @param string $name - * @param array $attributes - * @param Renderable[] $Contents - * @return self - */ - public static function create($name, array $attributes, array $Contents) - { - return new self($name, $attributes, $Contents); - } - /** * @param string $name * @param array $attributes diff --git a/src/Parsing/Lines.php b/src/Parsing/Lines.php index 9e5bd2e..ad68069 100644 --- a/src/Parsing/Lines.php +++ b/src/Parsing/Lines.php @@ -88,12 +88,6 @@ final class Lines return $this->Contexts; } - /** @return Context */ - public function last() - { - return $this->Contexts[\count($this->Contexts) -1]; - } - /** @return bool */ public function containsBlankLines() {