mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Remove unused methods
This commit is contained in:
parent
658129d847
commit
c0792947a6
@ -83,17 +83,6 @@ final class Element implements Renderable
|
|||||||
$this->Contents = $Contents;
|
$this->Contents = $Contents;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param string $name
|
|
||||||
* @param array<string, string> $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 string $name
|
||||||
* @param array<string, string> $attributes
|
* @param array<string, string> $attributes
|
||||||
|
@ -88,12 +88,6 @@ final class Lines
|
|||||||
return $this->Contexts;
|
return $this->Contexts;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @return Context */
|
|
||||||
public function last()
|
|
||||||
{
|
|
||||||
return $this->Contexts[\count($this->Contexts) -1];
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @return bool */
|
/** @return bool */
|
||||||
public function containsBlankLines()
|
public function containsBlankLines()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user