Completed
Pull Request — develop (#13)
by Thijs
02:44
created
src/OpenConext/Value/Saml/Metadata/ShibbolethMetadataScope.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.