@@ -177,7 +177,7 @@ |
||
177 | 177 | return true; |
178 | 178 | } |
179 | 179 | |
180 | - if ($this->isDomainExpression($reference) && @preg_match('/' . $reference . '/', $hostedDomain)) { |
|
180 | + if ($this->isDomainExpression($reference) && @preg_match('/'.$reference.'/', $hostedDomain)) { |
|
181 | 181 | // Hosted domain is correct. |
182 | 182 | return true; |
183 | 183 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * @var string If set, this will be sent to google as the "hd" parameter. |
23 | 23 | * Extra-feature: Also accept a comma-separated list of domains or domain regular expressions. |
24 | 24 | * In that case, Google connection screen is not bound to a specific hosted domain |
25 | - * because no "hd" parameter is sent to Google, but domain matching is still done by this library. |
|
25 | + * because no "hd" parameter is sent to Google, but domain matching is still done by this library. |
|
26 | 26 | * @link https://developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters |
27 | 27 | */ |
28 | 28 | protected $hostedDomain; |