From c0792947a657b8e129f6d00a32d157ebfbe80505 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Mon, 11 Feb 2019 00:11:41 +0000 Subject: [PATCH] Remove unused methods --- src/Html/Renderables/Element.php | 11 ----------- src/Parsing/Lines.php | 6 ------ 2 files changed, 17 deletions(-) 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() {