Passed
Pull Request — master (#68)
by
unknown
05:07
created
src/OneLoginBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             OneLoginUtils::setSelfPort($this->app['config']->get('saml2.serverPort'));
70 70
         }
71 71
 
72
-        $this->app->singleton('OneLogin_Saml2_Auth', function ($app) {
72
+        $this->app->singleton('OneLogin_Saml2_Auth', function($app) {
73 73
             $config = $app['config']['saml2'];
74 74
 
75 75
             $this->setConfigDefaultValues($config);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             return new OneLoginAuth($oneLoginConfig);
88 88
         });
89 89
 
90
-        $this->app->singleton('Slides\Saml2\Auth', function ($app) {
90
+        $this->app->singleton('Slides\Saml2\Auth', function($app) {
91 91
             return new \Slides\Saml2\Auth($app['OneLogin_Saml2_Auth'], $this->tenant);
92 92
         });
93 93
     }
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     protected function setConfigDefaultValues(array &$config)
103 103
     {
104 104
         foreach ($this->configDefaultValues() as $key => $default) {
105
-            if(!Arr::get($config, $key)) {
105
+            if (!Arr::get($config, $key)) {
106 106
                 Arr::set($config, $key, $default);
107 107
             }
108 108
         }
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
             case 'unspecified':
139 139
                 return 'urn:oasis:names:tc:SAML:1.1:nameid-format:' . $format;
140 140
             default:
141
-                return 'urn:oasis:names:tc:SAML:2.0:nameid-format:'. $format;
141
+                return 'urn:oasis:names:tc:SAML:2.0:nameid-format:' . $format;
142 142
         }
143 143
     }
144 144
 }
145 145
\ No newline at end of file
Please login to merge, or discard this patch.