← All changes
|
includes/sdk/s3/GuzzleHttp/Promise/PromisorInterface.php
+2
-3
1.2.3
→
1.4.1
View file →
| @@ -1,6 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +declare (strict_types=1); | |
| 3 | 4 | namespace Dudlewebs\WPMCS\s3\GuzzleHttp\Promise; |
| 4 | 5 | |
| 5 | 6 | /** |
| 6 | 7 | * Interface used with classes that return a promise. |
| @@ -8,9 +9,7 @@ | ||
| 8 | 9 | interface PromisorInterface |
| 9 | 10 | { |
| 10 | 11 | /** |
| 11 | 12 | * Returns a promise. |
| 12 | - * | |
| 13 | - * @return PromiseInterface | |
| 14 | 13 | */ |
| 15 | - public function promise(); | |
| 14 | + public function promise() : PromiseInterface; | |
| 16 | 15 | } |