Passed
Push — master ( d98ed4...47a449 )
by Robbie
02:25
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
     /**
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         }
74 74
 
75 75
         try {
76
-            $auth->login(Director::absoluteBaseURL() . 'saml/');
76
+            $auth->login(Director::absoluteBaseURL().'saml/');
77 77
         } catch (Exception $e) {
78 78
             /** @var LoggerInterface $logger */
79 79
             $logger = Injector::inst()->get(LoggerInterface::class);
@@ -121,8 +121,8 @@  discard block
 block discarded – undo
121 121
         for ($k = 1; $k <= 2; ++$k) {
122 122
             $hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
123 123
         }
124
-        $hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4);
125
-        $hex_guid_to_guid_str .= '-' . substr($hex_guid, 20);
124
+        $hex_guid_to_guid_str .= '-'.substr($hex_guid, 16, 4);
125
+        $hex_guid_to_guid_str .= '-'.substr($hex_guid, 20);
126 126
         return strtoupper($hex_guid_to_guid_str);
127 127
     }
128 128
 }
Please login to merge, or discard this patch.