Completed
Push — master ( 084308...324cef )
by Mathieu
01:19
created
src/Charcoal/Config/AbstractConfig.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
 
154 154
         $getter = 'get'.ucfirst($key);
155 155
         if (is_callable([ $this, $getter])) {
156
-           $value = $this->{$getter}();
156
+            $value = $this->{$getter}();
157 157
         } else if (is_callable([ $this, $key ])) {
158 158
             $value = $this->{$key}();
159 159
         } else {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -152,9 +152,9 @@  discard block
 block discarded – undo
152 152
         }
153 153
 
154 154
         $getter = 'get'.ucfirst($key);
155
-        if (is_callable([ $this, $getter])) {
155
+        if (is_callable([$this, $getter])) {
156 156
            $value = $this->{$getter}();
157
-        } else if (is_callable([ $this, $key ])) {
157
+        } else if (is_callable([$this, $key])) {
158 158
             $value = $this->{$key}();
159 159
         } else {
160 160
             if (!isset($this->{$key})) {
@@ -202,9 +202,9 @@  discard block
 block discarded – undo
202 202
         }
203 203
 
204 204
         $getter = 'get'.ucfirst($key);
205
-        if (is_callable([ $this, $getter])) {
205
+        if (is_callable([$this, $getter])) {
206 206
             return $this->{$getter}();
207
-        } else if (is_callable([ $this, $key ])) {
207
+        } else if (is_callable([$this, $key])) {
208 208
             return $this->{$key}();
209 209
         } else {
210 210
             if (isset($this->{$key})) {
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         }
251 251
 
252 252
         $setter = 'set'.ucfirst($key);
253
-        if (is_callable([ $this, $setter ])) {
253
+        if (is_callable([$this, $setter])) {
254 254
             $this->{$setter}($value);
255 255
         } else {
256 256
             $this->{$key} = $value;
Please login to merge, or discard this patch.