Completed
Push — master ( a77268...4f25b6 )
by Joao
02:36
created
src/supportServiceProvider.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,8 +121,9 @@
 block discarded – undo
121 121
 
122 122
         $config = $this->app['config']->get('jlourenco.support');
123 123
 
124
-        if (array_get($config, 'Setting.autoAlias'))
125
-            $this->app->alias('setting', 'jlourenco\support\Setting');
124
+        if (array_get($config, 'Setting.autoAlias')) {
125
+                    $this->app->alias('setting', 'jlourenco\support\Setting');
126
+        }
126 127
     }
127 128
 
128 129
     /**
Please login to merge, or discard this patch.
src/Setting.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,8 +174,7 @@
 block discarded – undo
174 174
         if (is_file($this->path.'/'.$this->filename))
175 175
         {
176 176
             $this->settings = json_decode(file_get_contents($this->path.'/'.$this->filename), true);
177
-        }
178
-        else
177
+        } else
179 178
         {
180 179
             $this->settings = array();
181 180
         }
Please login to merge, or discard this patch.
src/Helpers/FileLoader.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,9 @@
 block discarded – undo
7 7
     {
8 8
         $path = $this->getPath($namespace);
9 9
 
10
-        if (is_null($path))
11
-            return;
10
+        if (is_null($path)) {
11
+                    return;
12
+        }
12 13
 
13 14
         $file = (!$environment || ($environment == 'production')) ? "{$path}/{$group}.php" : "{$path}/{$environment}/{$group}.php";
14 15
 
Please login to merge, or discard this patch.