We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e4cd9 commit c6eb65fCopy full SHA for c6eb65f
lib/Fhp/Connection.php
@@ -7,25 +7,10 @@
7
*/
8
class Connection
9
{
10
- /**
11
- * @var string
12
- */
13
- protected $url;
14
-
15
16
- * @var resource
17
18
- protected $curlHandle;
19
20
21
- * @var int
22
23
- protected $timeoutConnect = 15;
24
25
26
27
28
- protected $timeoutResponse = 30;
+ protected string $url;
+ protected ?\CurlHandle $curlHandle = null;
+ protected int $timeoutConnect = 15;
+ protected int $timeoutResponse = 30;
29
30
public function __construct(string $url, int $timeoutConnect = 15, int $timeoutResponse = 30)
31
0 commit comments