Passed
Push — main ( 4af278...3f64e8 )
by Miaad
01:24
created
types/types.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 		foreach ($update as $key=>$value) {
18 18
 		    if (isset($subs[$key])) {
19 19
 		        $this->$key = new ($subs[$key]) ($value);
20
-		    }
21
-		    else {
20
+		    } else {
22 21
 		        $this->$key = $value;
23 22
 		        if (ucfirst($key) === basename(get_class($this)).'_id') {
24 23
 		            $this->{'id'} = $value;
Please login to merge, or discard this patch.