Skip to content

Commit 4036801

Browse files
committed
Add ConcreteValue::__toString()
1 parent 82cf934 commit 4036801

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Unit/Value/Fixtures/ConcreteValue.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,12 @@ public function render($outputFormat)
1818
{
1919
throw new \BadMethodCallException('Nothing to see here :/', 1744067951);
2020
}
21+
22+
/**
23+
* @return string
24+
*/
25+
public function __toString()
26+
{
27+
return $this->render(new OutputFormat());
28+
}
2129
}

0 commit comments

Comments
 (0)