Skip to content

Commit adaa8ec

Browse files
committed
minor symfony#20561 Fix annotation type for $context (KmeCnin)
This PR was merged into the 2.8 branch. Discussion ---------- Fix annotation type for $context | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Previous type ExecutionContextInterface was referring to a non declared namespace. Replacing it by ExecutionContextInterface2Dot5 fixes autocomplete. Commits ------- 55e134c Fix annotation type for $context
2 parents d94a631 + 55e134c commit adaa8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/ConstraintValidator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ abstract class ConstraintValidator implements ConstraintValidatorInterface
3838
const OBJECT_TO_STRING = 2;
3939

4040
/**
41-
* @var ExecutionContextInterface
41+
* @var ExecutionContextInterface2Dot5
4242
*/
4343
protected $context;
4444

0 commit comments

Comments
 (0)