From 51e12982a03b127af85ca13326eadd0d1d45e622 Mon Sep 17 00:00:00 2001 From: Klein Florian Date: Mon, 12 Dec 2011 01:44:54 +0100 Subject: [PATCH] better formatting of resulting output; newline after declaration block --- lib/CSSRuleSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CSSRuleSet.php b/lib/CSSRuleSet.php index b5491442..2788f2ff 100644 --- a/lib/CSSRuleSet.php +++ b/lib/CSSRuleSet.php @@ -643,11 +643,11 @@ public function createFontShorthand() { $this->removeRule($sProperty); } } - + public function __toString() { $sResult = implode(', ', $this->aSelectors).' {'; $sResult .= parent::__toString(); - $sResult .= '}'; + $sResult .= '}'."\n"; return $sResult; } }