File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ See also the wiki for possible [cache implementations](https://github.com/reactp
115
115
116
116
### resolve()
117
117
118
- The ` resolve(string $domain): PromiseInterface<string,Exception > ` method can be used to
118
+ The ` resolve(string $domain): PromiseInterface<string> ` method can be used to
119
119
resolve the given $domain name to a single IPv4 address (type ` A ` query).
120
120
121
121
``` php
@@ -151,7 +151,7 @@ $promise->cancel();
151
151
152
152
### resolveAll()
153
153
154
- The ` resolveAll(string $host, int $type): PromiseInterface<array,Exception > ` method can be used to
154
+ The ` resolveAll(string $host, int $type): PromiseInterface<array> ` method can be used to
155
155
resolve all record values for the given $domain name and query $type.
156
156
157
157
``` php
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ interface ExecutorInterface
36
36
* ```
37
37
*
38
38
* @param Query $query
39
- * @return \React\Promise\PromiseInterface<\React\Dns\Model\Message,\Exception >
39
+ * @return \React\Promise\PromiseInterface<\React\Dns\Model\Message>
40
40
* resolves with response message on success or rejects with an Exception on error
41
41
*/
42
42
public function query (Query $ query );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ interface ResolverInterface
39
39
* ```
40
40
*
41
41
* @param string $domain
42
- * @return \React\Promise\PromiseInterface<string,\Exception >
42
+ * @return \React\Promise\PromiseInterface<string>
43
43
* resolves with a single IP address on success or rejects with an Exception on error.
44
44
*/
45
45
public function resolve ($ domain );
@@ -87,7 +87,7 @@ public function resolve($domain);
87
87
* ```
88
88
*
89
89
* @param string $domain
90
- * @return \React\Promise\PromiseInterface<array,\Exception >
90
+ * @return \React\Promise\PromiseInterface<array>
91
91
* Resolves with all record values on success or rejects with an Exception on error.
92
92
*/
93
93
public function resolveAll ($ domain , $ type );
You can’t perform that action at this time.
0 commit comments