1
0
Fork 0

Display rules in more readable format

pull/118/head
Nils Adermann 2011-11-21 15:01:10 +01:00
parent 46e1001b4b
commit b717ad8851
1 changed files with 2 additions and 2 deletions

View File

@ -135,9 +135,9 @@ class RuleSet implements \IteratorAggregate, \Countable
foreach ($this->rules as $type => $rules) { foreach ($this->rules as $type => $rules) {
$string .= str_pad(self::$types[$type], 8, ' ') . ": "; $string .= str_pad(self::$types[$type], 8, ' ') . ": ";
foreach ($rules as $rule) { foreach ($rules as $rule) {
$string .= $rule; $string .= $rule."\n";
} }
$string .= "\n"; $string .= "\n\n";
} }
return $string; return $string;