Skip to content

Commit 69d3cba

Browse files
committed
Add property types
1 parent 0b06571 commit 69d3cba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/DohExecutor.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
class DohExecutor implements ExecutorInterface {
1919

20-
private $nameserver;
21-
private $loop;
22-
private $parser;
23-
private $dumper;
20+
private string $nameserver;
21+
private LoopInterface $loop;
22+
private Parser $parser;
23+
private BinaryDumper $dumper;
2424

25-
private $method;
25+
private string $method;
2626

27-
private $browser;
27+
private Browser $browser;
2828

2929
const METHOD_GET = 'get';
3030
const METHOD_POST = 'post';

0 commit comments

Comments
 (0)