File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ interface Promise
36
36
* If you do not care about one of the cases, you can set the corresponding callable to null
37
37
* The callback will be called when the value arrived and never more than once.
38
38
*
39
- * @param callable $onFulfilled Called when a response will be available.
40
- * @param callable $onRejected Called when an exception occurs.
39
+ * @param callable $onFulfilled called when a response will be available
40
+ * @param callable $onRejected called when an exception occurs
41
41
*
42
- * @return Promise A new resolved promise with value of the executed callback (onFulfilled / onRejected).
42
+ * @return Promise a new resolved promise with value of the executed callback (onFulfilled / onRejected)
43
43
*/
44
44
public function then (callable $ onFulfilled = null , callable $ onRejected = null );
45
45
@@ -63,7 +63,7 @@ public function getState();
63
63
*
64
64
* @return mixed Resolved value, null if $unwrap is set to false
65
65
*
66
- * @throws \Exception The rejection reason if $unwrap is set to true and the request failed.
66
+ * @throws \Exception the rejection reason if $unwrap is set to true and the request failed
67
67
*/
68
68
public function wait ($ unwrap = true );
69
69
}
You can’t perform that action at this time.
0 commit comments