Skip to content
Prev Previous commit
Next Next commit
Replace "should" by "must"
  • Loading branch information
joelwurtz committed Nov 4, 2015
commit 5628eee8510535e3fe55ac7de9d416643fa333d8
4 changes: 2 additions & 2 deletions src/Promise.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ interface Promise
* @param callable $onFulfilled Called when a response will be available.
*
* It will receive a Psr\Http\Message\RequestInterface object as the first argument
* If the callback is null it should not be called.
* If the callback is null it must not be called.
*
* @param callable $onRejected Called when an error happens.
*
* It will receive a Http\Client\Exception object as the first argument.
* If the callback is null it should not be called.
* If the callback is null it must not be called.
*
* @return Promise Always returns a new promise which is resolved with value of the executed callback (onFulfilled / onRejected)
*/
Expand Down