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) {
|
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;
|
||||||
|
|
Loading…
Reference in New Issue