Skip to content

Commit c70036c

Browse files
committed
Fix method body rendering
1 parent 7ae418e commit c70036c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/MethodModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function toLines()
6969
if (!$this->abstract) {
7070
$lines[] = '{';
7171
if ($this->body) {
72-
$lines[] = $this->body; // TODO: make body renderable
72+
$lines[] = sprintf(' %s', $this->body); // TODO: make body renderable
7373
}
7474
$lines[] = '}';
7575
}

0 commit comments

Comments
 (0)