Display rules in more readable format
parent
46e1001b4b
commit
b717ad8851
|
@ -135,9 +135,9 @@ class RuleSet implements \IteratorAggregate, \Countable
|
|||
foreach ($this->rules as $type => $rules) {
|
||||
$string .= str_pad(self::$types[$type], 8, ' ') . ": ";
|
||||
foreach ($rules as $rule) {
|
||||
$string .= $rule;
|
||||
$string .= $rule."\n";
|
||||
}
|
||||
$string .= "\n";
|
||||
$string .= "\n\n";
|
||||
}
|
||||
|
||||
return $string;
|
||||
|
|
Loading…
Reference in New Issue