1 | <?php |
||
28 | class ImapConnector { |
||
29 | |||
30 | /** |
||
31 | * @var Crypto |
||
32 | */ |
||
33 | private $crypto; |
||
34 | |||
35 | /** |
||
36 | * @var Logger |
||
37 | */ |
||
38 | private $logger; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | private $userId; |
||
44 | |||
45 | /** |
||
46 | * @param ICrypto $crypto |
||
47 | * @param Logger $logger |
||
48 | * @param type $UserId |
||
49 | */ |
||
50 | public function __construct(ICrypto $crypto, Logger $logger, $UserId) { |
||
55 | |||
56 | /** |
||
57 | * @param $email |
||
58 | * @param $password |
||
59 | * @param $name |
||
60 | * @param $host |
||
61 | * @param $port |
||
62 | * @param string|null $encryptionProtocol |
||
63 | * @param $user |
||
64 | * @return MailAccount |
||
65 | */ |
||
66 | public function connect($email, $password, $name, $host, $port, |
||
85 | |||
86 | } |
||
87 |
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..