Completed
Branch master (1f9da7)
by Sid
04:01
created
src/Providers/CombinedConfigServiceProvider.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
                 $this->app['config']->get('database-config.cache_key'),
30 30
                 function () {
31 31
                     return DatabaseConfig::all()
32
-                                         ->mapWithKeys(function ($config) {
33
-                                             return [$config->name => $config->value];
34
-                                         })
35
-                                         ->all();
32
+                                            ->mapWithKeys(function ($config) {
33
+                                                return [$config->name => $config->value];
34
+                                            })
35
+                                            ->all();
36 36
                 }
37 37
             );
38 38
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
             // Load database config
28 28
             $databaseConfig = $this->app['cache']->rememberForever(
29 29
                 $this->app['config']->get('database-config.cache_key'),
30
-                function () {
30
+                function() {
31 31
                     return DatabaseConfig::all()
32
-                                         ->mapWithKeys(function ($config) {
32
+                                         ->mapWithKeys(function($config) {
33 33
                                              return [$config->name => $config->value];
34 34
                                          })
35 35
                                          ->all();
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('array_merge_recursive_distinct')) {
3
+if (!function_exists('array_merge_recursive_distinct')) {
4 4
     /**
5 5
      * Recursively merge two config arrays - retain distinct values and overwrite existing values
6 6
      * @see http://docs.php.net/manual/da/function.array-merge-recursive.php#92195
Please login to merge, or discard this patch.
database/migrations/2019_04_29_173347_create_config_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create(config('database-config.table'), function (Blueprint $table) {
16
+        Schema::create(config('database-config.table'), function(Blueprint $table) {
17 17
             $table->string('name')->primary();
18 18
             $table->json('value')->nullable();
19 19
             $table->timestamps();
Please login to merge, or discard this patch.