This commit is contained in:
Fabien Potencier 2019-05-07 12:18:14 +02:00
parent 7ae5fe033f
commit 6c6f76f217
2 changed files with 4 additions and 4 deletions

View File

@ -235,7 +235,7 @@ class PhpDumperTest extends TestCase
$class = 'Symfony_DI_PhpDumper_Test_Unsupported_Characters';
$container = new ContainerBuilder();
$container->setParameter("'", 'oh-no');
$container->register("foo*/oh-no", 'FooClass')->setPublic(true);
$container->register('foo*/oh-no', 'FooClass')->setPublic(true);
$container->register('bar$', 'FooClass')->setPublic(true);
$container->register('bar$!', 'FooClass')->setPublic(true);
$container->compile();

View File

@ -113,11 +113,11 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable
* @return $this
*
* @throws Exception\AlreadySubmittedException If the form has already been submitted
* @throws Exception\LogicException If the view data does not match the expected type
* according to {@link FormConfigInterface::getDataClass}.
* @throws Exception\LogicException if the view data does not match the expected type
* according to {@link FormConfigInterface::getDataClass}
* @throws Exception\RuntimeException If listeners try to call setData in a cycle or if
* the form inherits data from its parent
* @throws Exception\TransformationFailedException If the synchronization failed.
* @throws Exception\TransformationFailedException if the synchronization failed
*/
public function setData($modelData);