We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec863a commit 2d8ed28Copy full SHA for 2d8ed28
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