|
@@ -102,9 +102,9 @@ |
|
102
|
102
|
} |
|
103
|
103
|
/** |
|
104
|
104
|
* @return PromiseInterface |
|
105
|
105
|
*/ |
|
106
|
|
- public function promise() |
|
106
|
+ public function promise() : PromiseInterface |
|
107
|
107
|
{ |
|
108
|
108
|
if (!$this->cachedPromise) { |
|
109
|
109
|
$this->cachedPromise = $this->createPromise(); |
|
110
|
110
|
} |