1 | <?php |
||
8 | class ChangePassword |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | * |
||
13 | * @Assert\Length( |
||
14 | * min = 6, |
||
15 | * minMessage = "sumocoders.multiuserbundle.form.length" |
||
16 | * ) |
||
17 | */ |
||
18 | public $newPassword; |
||
19 | |||
20 | /** |
||
21 | * @var UserInterface |
||
22 | */ |
||
23 | public $user; |
||
24 | |||
25 | public static function forUser(UserEntityInterface $user) |
||
32 | } |
||
33 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..