|
@@ -63,8 +63,8 @@ |
|
|
block discarded – undo |
|
63
|
63
|
|
|
64
|
64
|
// Allow substitutions rules to be defined with a leading a slash |
|
65
|
65
|
if (isset($rule['substitutions'])) { |
|
66
|
|
- foreach($rule['substitutions'] as $key => $value) { |
|
67
|
|
- $rule[ltrim($key, '\\')] = $value; |
|
|
66
|
+ foreach ($rule['substitutions'] as $key => $value) { |
|
|
67
|
+ $rule[ltrim($key, '\\')] = $value; |
|
68
|
68
|
} |
|
69
|
69
|
} |
|
70
|
70
|
$this->rules[self::normalizeName($classname)] = \array_replace_recursive($this->getRule($classname), $rule); |
Please login to merge, or discard this patch.