Skip to content

Commit

Permalink
Merge pull request #12 from php-http/analysis-8noDZv
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
dbu committed Nov 22, 2017
2 parents 810b30d + aa21abd commit 1cc44dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Promise.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ interface Promise
* If you do not care about one of the cases, you can set the corresponding callable to null
* The callback will be called when the value arrived and never more than once.
*
* @param callable $onFulfilled Called when a response will be available.
* @param callable $onRejected Called when an exception occurs.
* @param callable $onFulfilled called when a response will be available
* @param callable $onRejected called when an exception occurs
*
* @return Promise A new resolved promise with value of the executed callback (onFulfilled / onRejected).
* @return Promise a new resolved promise with value of the executed callback (onFulfilled / onRejected)
*/
public function then(callable $onFulfilled = null, callable $onRejected = null);

Expand All @@ -63,7 +63,7 @@ public function getState();
*
* @return mixed Resolved value, null if $unwrap is set to false
*
* @throws \Exception The rejection reason if $unwrap is set to true and the request failed.
* @throws \Exception the rejection reason if $unwrap is set to true and the request failed
*/
public function wait($unwrap = true);
}

0 comments on commit 1cc44dc

Please sign in to comment.