Skip to content
Snippets Groups Projects
Unverified Commit 71b6e525 authored by Graham Campbell's avatar Graham Campbell Committed by GitHub
Browse files

Corrected phpdoc of then

parent 02ee67f2
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