Completed
Pull Request — master (#76)
by
unknown
01:33
created
src/Provider/Google.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.