We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebbd7c7 commit efe7d0fCopy full SHA for efe7d0f
1 file changed
src/Blueprint.php
@@ -69,16 +69,16 @@ public function validate() {
69
}
70
71
public function setProp($prop_key, $prop_value) {
72
- if (gettype($new_value) !== 'object') {
73
- return null;
+ if (gettype($this->value) !== 'object') {
+ return $this;
74
75
76
$this->value->setProp($prop_key, $prop_value);
77
return $this;
78
79
80
public function getProp($prop_key) {
81
82
return null;
83
84
0 commit comments