Skip to content

Commit 1cc44dc

Browse files
authored
Merge pull request #12 from php-http/analysis-8noDZv
Apply fixes from StyleCI
2 parents 810b30d + aa21abd commit 1cc44dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Promise.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)