We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ec863a + 2d8ed28 commit 0c6e753Copy full SHA for 0c6e753
1 file changed
src/Wrapper.php
@@ -105,7 +105,7 @@ public function getProperties()
105
*/
106
public function getProperty($name)
107
{
108
- return $this->schema->properties[$name];
+ return isset($this->schema->properties[$name]) ? $this->schema->properties[$name] : null;
109
}
110
111
/**
@@ -216,4 +216,4 @@ public function jsonSerialize()
216
return $this->schema->jsonSerialize();
217
218
219
-}
+}
0 commit comments