Skip to content

Commit b4d63f4

Browse files
authored
strict fix (#249)
1 parent 206edb7 commit b4d63f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Forms/Container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public function getValues($returnType = null)
116116
$rc = new \ReflectionClass($obj);
117117

118118
foreach ($this->getComponents() as $name => $control) {
119+
$name = (string) $name;
119120
if ($control instanceof IControl && !$control->isOmitted()) {
120121
$obj->$name = $control->getValue();
121122
} elseif ($control instanceof self) {

0 commit comments

Comments
 (0)