We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84dc866 commit e716aabCopy full SHA for e716aab
src/Awaitable.php
@@ -3,14 +3,14 @@
3
namespace Interop\Async;
4
5
/**
6
- * Simple interface for awaitable objects representing the future value of asynchronous operations.
+ * Awaitable object representing the future value of an asynchronous operation.
7
*/
8
interface Awaitable
9
{
10
11
* Registers a callback to be invoked when the awaitable is resolved.
12
*
13
- * @param callable(\Throwable|\Exception $exception = null, mixed $result = null) $onResolved
+ * @param callable(\Throwable|\Exception|null $exception, mixed $result) $onResolved
14
15
* @return void
16
0 commit comments