Completed
Push — master ( 3f3ab1...d794c2 )
by Mathieu
01:18
created
src/Charcoal/Config/AbstractEntity.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,8 +154,7 @@
 block discarded – undo
154 154
         $getter = 'get'.ucfirst($key);
155 155
         if (is_callable([ $this, $getter])) {
156 156
             $value = $this->{$getter}();
157
-        }
158
-        else if (is_callable([ $this, $key ])) {
157
+        } else if (is_callable([ $this, $key ])) {
159 158
             $value = $this->{$key}();
160 159
         } else {
161 160
             if (!isset($this->{$key})) {
Please login to merge, or discard this patch.