Passed
Push — master ( 42be68...0f9666 )
by Artem
03:36 queued 11s
created
2020_10_23_072902_add_name_id_format_column_to_saml2_tenants_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::table('saml2_tenants', function (Blueprint $table) {
16
+        Schema::table('saml2_tenants', function(Blueprint $table) {
17 17
             $table->string('name_id_format')->default('persistent');
18 18
         });
19 19
     }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function down()
27 27
     {
28
-        Schema::table('saml2_tenants', function (Blueprint $table) {
28
+        Schema::table('saml2_tenants', function(Blueprint $table) {
29 29
             $table->dropColumn('name_id_format');
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
src/OneLoginBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             OneLoginUtils::setProxyVars(true);
66 66
         }
67 67
 
68
-        $this->app->singleton('OneLogin_Saml2_Auth', function ($app) {
68
+        $this->app->singleton('OneLogin_Saml2_Auth', function($app) {
69 69
             $config = $app['config']['saml2'];
70 70
 
71 71
             $this->setConfigDefaultValues($config);
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             return new OneLoginAuth($oneLoginConfig);
82 82
         });
83 83
 
84
-        $this->app->singleton('Slides\Saml2\Auth', function ($app) {
84
+        $this->app->singleton('Slides\Saml2\Auth', function($app) {
85 85
             return new \Slides\Saml2\Auth($app['OneLogin_Saml2_Auth'], $this->tenant);
86 86
         });
87 87
     }
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     protected function setConfigDefaultValues(array &$config)
97 97
     {
98 98
         foreach ($this->configDefaultValues() as $key => $default) {
99
-            if(!Arr::get($config, $key)) {
99
+            if (!Arr::get($config, $key)) {
100 100
                 Arr::set($config, $key, $default);
101 101
             }
102 102
         }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
             case 'unspecified':
134 134
                 return 'urn:oasis:names:tc:SAML:1.1:nameid-format:' . $format;
135 135
             default:
136
-                return 'urn:oasis:names:tc:SAML:2.0:nameid-format:'. $format;
136
+                return 'urn:oasis:names:tc:SAML:2.0:nameid-format:' . $format;
137 137
         }
138 138
     }
139 139
 }
140 140
\ No newline at end of file
Please login to merge, or discard this patch.