Skip to content

Commit 7e6d577

Browse files
committed
Merge branch '2.3' into 2.6
* 2.3: fixed some tests Remove excess whitespace
2 parents 5eec91a + 8adfffa commit 7e6d577

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
@@ -355,7 +355,7 @@ public function setData($modelData)
355355
if (!FormUtil::isEmpty($viewData)) {
356356
$dataClass = $this->config->getDataClass();
357357

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

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

0 commit comments

Comments
 (0)