@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | Assertion::boolean($isRegexp); |
51 | 51 | |
52 | 52 | if ($isRegexp) { |
53 | - Assertion::validRegularExpression('#' . $scope . '#i', 'scope'); |
|
53 | + Assertion::validRegularExpression('#'.$scope.'#i', 'scope'); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | $this->scope = $scope; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | return strcasecmp($this->scope, $string) === 0; |
70 | 70 | } |
71 | 71 | |
72 | - $regexp = new RegularExpression('#' . $this->scope . '#i'); |
|
72 | + $regexp = new RegularExpression('#'.$this->scope.'#i'); |
|
73 | 73 | return $regexp->matches($string); |
74 | 74 | } |
75 | 75 |