Skip to content

Commit 599740e

Browse files
bronze1manfabpot
authored andcommitted
Fix some annotates
1 parent 28bcf00 commit 599740e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CallbackTransformer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
namespace Symfony\Component\Form;
1313

14+
use Symfony\Component\Form\Exception\UnexpectedTypeException;
15+
use Symfony\Component\Form\Exception\TransformationFailedException;
16+
1417
class CallbackTransformer implements DataTransformerInterface
1518
{
1619
/**

Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class Form implements \IteratorAggregate, FormInterface
144144
*
145145
* @param FormConfigInterface $config The form configuration.
146146
*
147-
* @throws FormException if a data mapper is not provided for a compound form
147+
* @throws Exception if a data mapper is not provided for a compound form
148148
*/
149149
public function __construct(FormConfigInterface $config)
150150
{

0 commit comments

Comments
 (0)