Skip to content

Commit 4005688

Browse files
committed
Merge branch '2.6' into 2.7
* 2.6: fixed tests fixed some tests Remove excess whitespace
2 parents 52b7585 + 7e6d577 commit 4005688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public function setData($modelData)
356356
if (!FormUtil::isEmpty($viewData)) {
357357
$dataClass = $this->config->getDataClass();
358358

359-
$actualType = is_object($viewData) ? 'an instance of class '.get_class($viewData) : ' a(n) '.gettype($viewData);
359+
$actualType = is_object($viewData) ? 'an instance of class '.get_class($viewData) : 'a(n) '.gettype($viewData);
360360

361361
if (null === $dataClass && is_object($viewData) && !$viewData instanceof \ArrayAccess) {
362362
$expectedType = 'scalar, array or an instance of \ArrayAccess';

0 commit comments

Comments
 (0)