minor #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
This commit is contained in:
Fabien Potencier 2016-11-21 16:03:35 -08:00
commit adaa8ec50f

View File

@ -38,7 +38,7 @@ abstract class ConstraintValidator implements ConstraintValidatorInterface
const OBJECT_TO_STRING = 2;
/**
* @var ExecutionContextInterface
* @var ExecutionContextInterface2Dot5
*/
protected $context;