1
0
mirror of https://github.com/danog/amp.git synced 2024-12-04 02:17:54 +01:00

Add @throws CancelledException to Future::await

This commit is contained in:
Niklas Keller 2021-12-23 01:02:16 +01:00
parent f2bd72a020
commit fc9debb885

View File

@ -211,6 +211,8 @@ final class Future
* Throws an exception if the operation fails.
*
* @return T
*
* @throws CancelledException
*/
public function await(?Cancellation $cancellation = null): mixed
{