@@ -103,7 +103,7 @@ |
||
103 | 103 | ->then() |
104 | 104 | ->delegateCall($onRejected) |
105 | 105 | ->withArguments($reason) |
106 | - ->once() |
|
106 | + ->once() |
|
107 | 107 | ; |
108 | 108 | |
109 | 109 | $this->invalidActionTest($deferred); |
@@ -91,7 +91,7 @@ |
||
91 | 91 | ->when($deferred->resolve(0)) |
92 | 92 | ->then() |
93 | 93 | ->boolean($all->state()->equals(State::FULFILLED())) |
94 | - ->isTrue() |
|
94 | + ->isTrue() |
|
95 | 95 | ; |
96 | 96 | |
97 | 97 | $this |
@@ -179,8 +179,8 @@ |
||
179 | 179 | ->delegateCall($onFulfilledThen) |
180 | 180 | ->never() |
181 | 181 | ->delegateCall($onRejectedThen) |
182 | - ->withArguments($e) |
|
183 | - ->once(); |
|
182 | + ->withArguments($e) |
|
183 | + ->once(); |
|
184 | 184 | } |
185 | 185 | |
186 | 186 | /** |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * @param callable $onFulfilled |
73 | 73 | * |
74 | - * @return mixed |
|
74 | + * @return PromiseInterface |
|
75 | 75 | */ |
76 | 76 | private function resolveActual(callable $onFulfilled) |
77 | 77 | { |