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
3636 * If you do not care about one of the cases, you can set the corresponding callable to null
3737 * The callback will be called when the value arrived and never more than once.
3838 *
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
4141 *
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)
4343 */
4444 public function then (callable $ onFulfilled = null , callable $ onRejected = null );
4545
@@ -63,7 +63,7 @@ public function getState();
6363 *
6464 * @return mixed Resolved value, null if $unwrap is set to false
6565 *
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
6767 */
6868 public function wait ($ unwrap = true );
6969}
You can’t perform that action at this time.
0 commit comments