Skip to content

Commit b4e5fbe

Browse files
committed
minor symfony#15252 [Form] Remove excess whitespace (aivus)
This PR was merged into the 2.3 branch. Discussion ---------- [Form] Remove excess whitespace | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- b1b52ad Remove excess whitespace
2 parents 86c6128 + b1b52ad commit b4e5fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Form.php

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

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

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

0 commit comments

Comments
 (0)