Completed
Push — master ( 30e9be...3f3ab1 )
by Mathieu
01:18
created
src/Charcoal/Config/AbstractEntity.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
             return false;
152 152
         }
153 153
 
154
-        if (is_callable([ $this, $key ])) {
154
+        if (is_callable([$this, $key])) {
155 155
             $value = $this->{$key}();
156 156
         } else {
157 157
             if (!isset($this->{$key})) {
@@ -193,9 +193,9 @@  discard block
 block discarded – undo
193 193
         }
194 194
 
195 195
         $getter = 'get'.ucfirst($key);
196
-        if (is_callable([ $this, $getter])) {
196
+        if (is_callable([$this, $getter])) {
197 197
             return $this->{$getter}();
198
-        } elseif (is_callable([ $this, $key ])) {
198
+        } elseif (is_callable([$this, $key])) {
199 199
             return $this->{$key}();
200 200
         } else {
201 201
             if (isset($this->{$key})) {
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
         }
238 238
 
239 239
         $setter = 'set'.ucfirst($key);
240
-        if (is_callable([ $this, $setter ])) {
240
+        if (is_callable([$this, $setter])) {
241 241
             $this->{$setter}($value);
242 242
         } else {
243 243
             $this->{$key} = $value;
Please login to merge, or discard this patch.