File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 55use ApiClients \Foundation \Resource \ResourceInterface ;
66use React \Promise \CancellablePromiseInterface ;
77use React \Promise \PromiseInterface ;
8- use Rx \Observable ;
98use Rx \ObservableInterface ;
10- use function React \Promise \resolve ;
119
1210interface AsyncClientInterface
1311{
1412 /**
1513 * Take a string create by the extract method and hydrate it back to a resource.
1614 *
17- * @param string $resource
15+ * @param string $resource
1816 * @return CancellablePromiseInterface
1917 */
2018 public function hydrate (string $ resource ): CancellablePromiseInterface ;
2119
2220 /**
2321 * Extract a resource into a string for storage.
2422 *
25- * @param ResourceInterface $resource
23+ * @param ResourceInterface $resource
2624 * @return CancellablePromiseInterface
2725 */
2826 public function extract (ResourceInterface $ resource ): CancellablePromiseInterface ;
Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ interface ClientInterface
1313 /**
1414 * Take a string create by the extract method and hydrate it back to a resource.
1515 *
16- * @param string $resource
16+ * @param string $resource
1717 * @return ResourceInterface
1818 */
1919 public function hydrate (string $ resource ): ResourceInterface ;
2020
2121 /**
2222 * Extract a resource into a string for storage.
2323 *
24- * @param ResourceInterface $resource
24+ * @param ResourceInterface $resource
2525 * @return string
2626 */
2727 public function extract (ResourceInterface $ resource ): string ;
You can’t perform that action at this time.
0 commit comments