Passed
Pull Request — master (#27)
by
unknown
08:18
created
src/Helpers/SAMLHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @var array
30 30
      */
31 31
     private static $dependencies = [
32
-        'SAMLConfService' => '%$' . SAMLConfiguration::class,
32
+        'SAMLConfService' => '%$'.SAMLConfiguration::class,
33 33
     ];
34 34
 
35 35
     /**
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $additionalGetQueryParams = $this->getAdditionalGETQueryParameters();
76 76
 
77 77
         try {
78
-            $auth->login(Director::absoluteBaseURL() . 'saml/', $additionalGetQueryParams);
78
+            $auth->login(Director::absoluteBaseURL().'saml/', $additionalGetQueryParams);
79 79
         } catch (Exception $e) {
80 80
             /** @var LoggerInterface $logger */
81 81
             $logger = Injector::inst()->get(LoggerInterface::class);
@@ -123,8 +123,8 @@  discard block
 block discarded – undo
123 123
         for ($k = 1; $k <= 2; ++$k) {
124 124
             $hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
125 125
         }
126
-        $hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4);
127
-        $hex_guid_to_guid_str .= '-' . substr($hex_guid, 20);
126
+        $hex_guid_to_guid_str .= '-'.substr($hex_guid, 16, 4);
127
+        $hex_guid_to_guid_str .= '-'.substr($hex_guid, 20);
128 128
         return strtoupper($hex_guid_to_guid_str);
129 129
     }
130 130
 
Please login to merge, or discard this patch.