Passed
Push — develop ( 683c19...dcbd9a )
by nguereza
03:20
created
src/Service/Provider/DatabaseConfigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             DatabaseConfigLoader::class
73 73
         );
74 74
 
75
-        $this->app->share(AppDatabaseConfig::class, function (ContainerInterface $app) {
75
+        $this->app->share(AppDatabaseConfig::class, function(ContainerInterface $app) {
76 76
             $env = $app->get(Config::class)->get('app.env', '');
77 77
             return new AppDatabaseConfig($app->get(DatabaseConfigLoaderInterface::class), $env);
78 78
         });
Please login to merge, or discard this patch.
src/Service/Provider/SessionServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,10 +68,10 @@
 block discarded – undo
68 68
     public function register(): void
69 69
     {
70 70
         $cfg = $this->app->get(Config::class)->get('session', []);
71
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) use ($cfg) {
71
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) use ($cfg) {
72 72
             return new Configuration($cfg);
73 73
         });
74
-        $this->app->bind(SessionHandlerInterface::class, function (ContainerInterface $app) {
74
+        $this->app->bind(SessionHandlerInterface::class, function(ContainerInterface $app) {
75 75
             return new LocalStorage(
76 76
                 $app->get(Filesystem::class),
77 77
                 $app->get(Configuration::class)
Please login to merge, or discard this patch.
src/Config/Model/Configuration.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,19 +68,19 @@
 block discarded – undo
68 68
             'updated_at' => '?date',
69 69
         ]);
70 70
 
71
-        $mapper->filter('status', function (Query $q, $value) {
71
+        $mapper->filter('status', function(Query $q, $value) {
72 72
             $q->where('status')->is($value);
73 73
         });
74 74
 
75
-        $mapper->filter('env', function (Query $q, $value) {
75
+        $mapper->filter('env', function(Query $q, $value) {
76 76
             $q->where('env')->is($value);
77 77
         });
78 78
 
79
-        $mapper->filter('module', function (Query $q, $value) {
79
+        $mapper->filter('module', function(Query $q, $value) {
80 80
             $q->where('module')->is($value);
81 81
         });
82 82
 
83
-        $mapper->filter('type', function (Query $q, $value) {
83
+        $mapper->filter('type', function(Query $q, $value) {
84 84
             $q->where('type')->is($value);
85 85
         });
86 86
     }
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
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
                                 ->query()
129 129
                                 ->where('module')->is($group)
130 130
                                 ->where('status')->is('Y')
131
-                                ->where(function (WhereStatement $where) use ($env) {
131
+                                ->where(function(WhereStatement $where) use ($env) {
132 132
                                     $where->where('env')->is($env)
133 133
                                     ->orWhere('env')->isNull();
134 134
                                 });
Please login to merge, or discard this patch.