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:
commit
adaa8ec50f
@ -38,7 +38,7 @@ abstract class ConstraintValidator implements ConstraintValidatorInterface
|
||||
const OBJECT_TO_STRING = 2;
|
||||
|
||||
/**
|
||||
* @var ExecutionContextInterface
|
||||
* @var ExecutionContextInterface2Dot5
|
||||
*/
|
||||
protected $context;
|
||||
|
||||
|
Reference in New Issue
Block a user