<?phpnamespaceReact\Promise;interfacePromiseInterface{/** * * The `$onProgress` argument is deprecated and should not be used anymore. * * @return PromiseInterface */publicfunctionthen(callable$onFulfilled=null,callable$onRejected=null,callable$onProgress=null);}