Skip to content

Commit 65c0ed6

Browse files
authored
Merge pull request #271 from oliverklee/task/abstract-functions
Drop pointless abstract methods
2 parents edda20e + 735bde0 commit 65c0ed6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Renderable.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
interface Renderable
66
{
7+
/**
8+
* @return string
9+
*/
710
public function __toString();
811

912
/**

src/Value/Value.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,4 @@ public function getLineNo()
151151
{
152152
return $this->iLineNo;
153153
}
154-
155-
//Methods are commented out because re-declaring them here is a fatal error in PHP < 5.3.9
156-
//public abstract function __toString();
157-
//public abstract function render(\Sabberworm\CSS\OutputFormat $oOutputFormat);
158154
}

0 commit comments

Comments
 (0)