Skip to content
Snippets Groups Projects
Unverified Commit c24dd041 authored by David Buchmann's avatar David Buchmann Committed by GitHub
Browse files

Merge pull request #18 from GrahamCampbell/patch-1

Corrected phpdoc of then
parents 02ee67f2 71b6e525
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,8 @@ 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|null $onFulfilled called when a response will be available
* @param callable|null $onRejected called when an exception occurs
*
* @return Promise a new resolved promise with value of the executed callback (onFulfilled / onRejected)
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment