Skip to content

Commit 3abcca5

Browse files
authored
Merge pull request #105 from systopia/fix-property-names
Fix property names
2 parents d5efce8 + 6602993 commit 3abcca5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/JsonForms/Definition/Control/ControlDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function getEnum(): ?array {
189189
* {@inheritDoc}
190190
*/
191191
public function getKeywordValue(string $keyword, $default = NULL) {
192-
return $this->uiSchema->{$keyword} ?? $default;
192+
return $this->controlSchema->{$keyword} ?? $default;
193193
}
194194

195195
public function getLabel(): string {

src/JsonForms/Definition/Control/NumberControlDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
class NumberControlDefinition extends ControlDefinition {
2727

2828
public function getMultipleOf(): ?int {
29-
return ConvertUtil::stdClassToNull($this->getpropertySchema->multipleOf ?? NULL);
29+
return ConvertUtil::stdClassToNull($this->propertySchema->multipleOf ?? NULL);
3030
}
3131

3232
/**

0 commit comments

Comments
 (0)