1 | <?php |
||
5 | class CurlException extends \Exception |
||
6 | { |
||
7 | /** |
||
8 | * @var array<string,mixed> |
||
9 | */ |
||
10 | private $info; |
||
11 | |||
12 | /** |
||
13 | * @param resource $ch The cURL handler |
||
14 | * |
||
15 | * @return CurlException |
||
16 | */ |
||
17 | public static function create($ch): self |
||
24 | |||
25 | /** |
||
26 | * Returns the curl_info array. |
||
27 | * |
||
28 | * @return array<string,mixed> |
||
29 | */ |
||
30 | public function getInfo(): array |
||
34 | } |
||
35 |
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..