Skip to content

Commit f5143fe

Browse files
committed
Added doc blocks
1 parent 9de3ec8 commit f5143fe

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/Deferred.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,34 @@
1313
*/
1414
final class Deferred implements Promise
1515
{
16+
/**
17+
* @var ResponseInterface|null
18+
*/
1619
private $value;
20+
21+
/**
22+
* @var Exception|null
23+
*/
1724
private $failure;
25+
26+
/**
27+
* @var string
28+
*/
1829
private $state;
30+
31+
/**
32+
* @var callable
33+
*/
1934
private $waitCallback;
35+
36+
/**
37+
* @var callable[]
38+
*/
2039
private $onFulfilledCallbacks;
40+
41+
/**
42+
* @var callable[]
43+
*/
2144
private $onRejectedCallbacks;
2245

2346
public function __construct(callable $waitCallback)

0 commit comments

Comments
 (0)