File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Symfony/Component/Form Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 14
14
use Symfony \Component \Form \Exception \FormException ;
15
15
use Symfony \Component \Form \Exception \UnexpectedTypeException ;
16
16
use Symfony \Component \Form \Util \PropertyPath ;
17
+ use Symfony \Component \Form \Util \PropertyPathInterface ;
17
18
use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
18
19
use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
19
20
use Symfony \Component \EventDispatcher \ImmutableEventDispatcher ;
@@ -41,7 +42,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface
41
42
private $ name ;
42
43
43
44
/**
44
- * @var PropertyPath
45
+ * @var PropertyPathInterface
45
46
*/
46
47
private $ propertyPath ;
47
48
@@ -709,7 +710,7 @@ public function setPropertyPath($propertyPath)
709
710
throw new FormException ('The config builder cannot be modified anymore. ' );
710
711
}
711
712
712
- if (null !== $ propertyPath && !$ propertyPath instanceof PropertyPath ) {
713
+ if (null !== $ propertyPath && !$ propertyPath instanceof PropertyPathInterface ) {
713
714
$ propertyPath = new PropertyPath ($ propertyPath );
714
715
}
715
716
You can’t perform that action at this time.
0 commit comments