@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public function up() |
| 17 | 17 | { |
| 18 | - Schema::table('saml2_tenants', function (Blueprint $table) { |
|
| 18 | + Schema::table('saml2_tenants', function(Blueprint $table) { |
|
| 19 | 19 | $table->renameColumn('sp_entity_id_override', 'id_app_url_override'); |
| 20 | 20 | }); |
| 21 | 21 | } |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function down() |
| 29 | 29 | { |
| 30 | - Schema::table('saml2_tenants', function (Blueprint $table) { |
|
| 30 | + Schema::table('saml2_tenants', function(Blueprint $table) { |
|
| 31 | 31 | $table->renameColumn('id_app_url_override', 'sp_entity_id_override'); |
| 32 | 32 | }); |
| 33 | 33 | } |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public function up() |
| 17 | 17 | { |
| 18 | - Schema::table('saml2_tenants', function (Blueprint $table) { |
|
| 18 | + Schema::table('saml2_tenants', function(Blueprint $table) { |
|
| 19 | 19 | $table->string('sp_entity_id_override')->nullable(); |
| 20 | 20 | }); |
| 21 | 21 | } |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function down() |
| 29 | 29 | { |
| 30 | - Schema::table('saml2_tenants', function (Blueprint $table) { |
|
| 30 | + Schema::table('saml2_tenants', function(Blueprint $table) { |
|
| 31 | 31 | $table->dropColumn('sp_entity_id_override'); |
| 32 | 32 | }); |
| 33 | 33 | } |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | */ |
| 96 | 96 | private function getUrlWithDomainOverrideIfConfigured(string $routeName): string |
| 97 | 97 | { |
| 98 | - $routeParams = [ 'uuid' => $this->tenant->uuid ]; |
|
| 98 | + $routeParams = ['uuid' => $this->tenant->uuid]; |
|
| 99 | 99 | |
| 100 | 100 | if ($this->tenant->id_app_url_override) { |
| 101 | 101 | // Override the APP_URL with "manual" host: |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | OneLoginUtils::setProxyVars(true); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - $this->app->singleton('OneLogin_Saml2_Auth', function ($app) { |
|
| 69 | + $this->app->singleton('OneLogin_Saml2_Auth', function($app) { |
|
| 70 | 70 | $config = $app['config']['saml2']; |
| 71 | 71 | |
| 72 | 72 | $this->setConfigDefaultValues($config); |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | return new OneLoginAuth($oneLoginConfig); |
| 89 | 89 | }); |
| 90 | 90 | |
| 91 | - $this->app->singleton('Slides\Saml2\Auth', function ($app) { |
|
| 91 | + $this->app->singleton('Slides\Saml2\Auth', function($app) { |
|
| 92 | 92 | return new \Slides\Saml2\Auth($app['OneLogin_Saml2_Auth'], $this->tenant); |
| 93 | 93 | }); |
| 94 | 94 | } |