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
115115
116116### resolve()
117117
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
119119resolve the given $domain name to a single IPv4 address (type ` A ` query).
120120
121121``` php
@@ -151,7 +151,7 @@ $promise->cancel();
151151
152152### resolveAll()
153153
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
155155resolve all record values for the given $domain name and query $type.
156156
157157``` php
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ interface ExecutorInterface
3636 * ```
3737 *
3838 * @param Query $query
39- * @return \React\Promise\PromiseInterface<\React\Dns\Model\Message,\Exception >
39+ * @return \React\Promise\PromiseInterface<\React\Dns\Model\Message>
4040 * resolves with response message on success or rejects with an Exception on error
4141 */
4242 public function query (Query $ query );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ interface ResolverInterface
3939 * ```
4040 *
4141 * @param string $domain
42- * @return \React\Promise\PromiseInterface<string,\Exception >
42+ * @return \React\Promise\PromiseInterface<string>
4343 * resolves with a single IP address on success or rejects with an Exception on error.
4444 */
4545 public function resolve ($ domain );
@@ -87,7 +87,7 @@ public function resolve($domain);
8787 * ```
8888 *
8989 * @param string $domain
90- * @return \React\Promise\PromiseInterface<array,\Exception >
90+ * @return \React\Promise\PromiseInterface<array>
9191 * Resolves with all record values on success or rejects with an Exception on error.
9292 */
9393 public function resolveAll ($ domain , $ type );
You can’t perform that action at this time.
0 commit comments