Test Failed
Push — develop ( bd77d0...12e168 )
by nguereza
03:10
created
src/Service/Provider/DatabaseConfigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function register(): void
67 67
     {
68
-        $this->app->share(DbConfig::class, function (ContainerInterface $app) {
68
+        $this->app->share(DbConfig::class, function(ContainerInterface $app) {
69 69
             $env = $app->get(Config::class)->get('app.env', '');
70 70
             return new DbConfig($app->get(QueryBuilder::class), $env);
71 71
         });
Please login to merge, or discard this patch.
src/Config/DatabaseConfigLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
      */
123 123
     protected function parse(string $env): array
124 124
     {
125
-        $environments = array_filter((array)preg_split('/(\/|\.)/', $env));
125
+        $environments = array_filter((array) preg_split('/(\/|\.)/', $env));
126 126
         array_unshift($environments, '');
127 127
 
128 128
         return $environments;
Please login to merge, or discard this patch.
storage/migrations/20210708_043103_add_config_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public function up(): void
11 11
     {
12 12
       //Action when migrate up
13
-      $this->create('config', function (CreateTable $table) {
13
+      $this->create('config', function(CreateTable $table) {
14 14
           $table->integer('id')
15 15
                   ->autoincrement()
16 16
                  ->primary();
Please login to merge, or discard this patch.