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.
2 parents 5eec91a + 8adfffa commit 7e6d577Copy full SHA for 7e6d577
Form.php
@@ -355,7 +355,7 @@ public function setData($modelData)
355
if (!FormUtil::isEmpty($viewData)) {
356
$dataClass = $this->config->getDataClass();
357
358
- $actualType = is_object($viewData) ? 'an instance of class '.get_class($viewData) : ' a(n) '.gettype($viewData);
+ $actualType = is_object($viewData) ? 'an instance of class '.get_class($viewData) : 'a(n) '.gettype($viewData);
359
360
if (null === $dataClass && is_object($viewData) && !$viewData instanceof \ArrayAccess) {
361
$expectedType = 'scalar, array or an instance of \ArrayAccess';
0 commit comments