We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecd617f commit 20e4797Copy full SHA for 20e4797
src/Model/ClassModel.php
@@ -75,6 +75,10 @@ public function toLines()
75
}
76
$this->processProperties($lines);
77
$this->processMethods($lines);
78
+ /**
79
+ * Fix the bug with empty line before closing bracket
80
+ */
81
+ $lines[count($lines) - 1] = rtrim($lines[count($lines) - 1]);
82
$lines[] = $this->ln('}');
83
84
return $lines;
0 commit comments