Completed
Push — master ( d794c2...084308 )
by Mathieu
01:14
created
src/Charcoal/Config/AbstractEntity.php 1 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
-        } elseif (is_callable([ $this, $key ])) {
157
+        } elseif (is_callable([$this, $key])) {
158 158
             $value = $this->{$key}();
159 159
         } else {
160 160
             if (!isset($this->{$key})) {
@@ -196,9 +196,9 @@  discard block
 block discarded – undo
196 196
         }
197 197
 
198 198
         $getter = 'get'.ucfirst($key);
199
-        if (is_callable([ $this, $getter])) {
199
+        if (is_callable([$this, $getter])) {
200 200
             return $this->{$getter}();
201
-        } elseif (is_callable([ $this, $key ])) {
201
+        } elseif (is_callable([$this, $key])) {
202 202
             return $this->{$key}();
203 203
         } else {
204 204
             if (isset($this->{$key})) {
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
         }
241 241
 
242 242
         $setter = 'set'.ucfirst($key);
243
-        if (is_callable([ $this, $setter ])) {
243
+        if (is_callable([$this, $setter])) {
244 244
             $this->{$setter}($value);
245 245
         } else {
246 246
             $this->{$key} = $value;
Please login to merge, or discard this patch.