@@ -41,8 +41,6 @@ discard block |
||
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @param Waiter $waitStrategy |
44 | - * @param ThrowableCatcherVoter|null $fulfilledEvaluator |
|
45 | - * @param ThrowableCatcherVoter|null $rejectedEvaluator |
|
46 | 44 | */ |
47 | 45 | public function __construct(Waiter $waitStrategy, ThrowableCatcherVoter $fulfilledVoter = null, ThrowableCatcherVoter $rejectedVoter = null) |
48 | 46 | { |
@@ -84,6 +82,9 @@ discard block |
||
84 | 82 | ); |
85 | 83 | } |
86 | 84 | |
85 | + /** |
|
86 | + * @param boolean $fulfilled |
|
87 | + */ |
|
87 | 88 | protected function onTerminate(PromiseOperation $operation, ThrowableCatcherVoter $voter, $fulfilled) |
88 | 89 | { |
89 | 90 | return function ($value) use ($operation, $voter, $fulfilled) { |