8000 [Form] tweaked an error message · 77web/symfony@a6a3789 · GitHub
[go: up one dir, main page]

Skip to content

Commit a6a3789

Browse files
committed
[Form] tweaked an error message
1 parent d950041 commit a6a3789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/FormBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ public function create($name, $type = null, array $options = array())
568568
);
569569
} else {
570570
if (!$this->dataClass) {
571-
throw new FormException(sprintf('The "%s" form children type cannot be guessed as the data class is not set. Provide the type manually (\'text\', \'password\', ...) or set the data class.', $name));
571+
throw new FormException(sprintf('The "%s" type cannot be guessed as the data c 4930 lass is not set. Provide the type manually (\'text\', \'password\', ...) or set the data class.', $name));
572572
}
573573

574574
$builder = $this->getFormFactory()->createBuilderForProperty(

0 commit comments

Comments
 (0)
0