@@ -140,8 +140,7 @@ |
||
140 | 140 | |
141 | 141 | if ($this->current instanceof PromiseInterface || $this->currentState() === self::STATE_FULFILLED) { |
142 | 142 | return $q; |
143 | - } |
|
144 | - else { |
|
143 | + } else { |
|
145 | 144 | throw $q instanceof \Exception |
146 | 145 | ? $q |
147 | 146 | : new \Exception($q); |