Completed
Push — master ( 082f5b...3c6fd9 )
by Adam
06:38
created
src/IPub/Application/UI/TEntityState.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,8 @@  discard block
 block discarded – undo
56 56
 		$reflection = $this->getReflection();
57 57
 
58 58
 		foreach ($reflection->getPersistentParams() as $name => $meta) {
59
-			if (isset($params[$name])) { // NULLs are ignored
59
+			if (isset($params[$name])) {
60
+// NULLs are ignored
60 61
 				$type = gettype($meta['def']);
61 62
 
62 63
 				if (!$reflection->convertType($params[$name], $type)) {
@@ -111,7 +112,8 @@  discard block
 block discarded – undo
111 112
 			if (isset($params[$name])) {
112 113
 				// injected value
113 114
 
114
-			} else if (array_key_exists($name, $params)) { // NULLs are skipped
115
+			} else if (array_key_exists($name, $params)) {
116
+// NULLs are skipped
115 117
 				continue;
116 118
 
117 119
 			} elseif (!isset($meta['since']) || $this instanceof $meta['since']) {
Please login to merge, or discard this patch.