← All changes
|
includes/sdk/google/guzzlehttp/promises/src/TaskQueueInterface.php
+4
-4
1.2.3
→
1.4.1
View file →
| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | declare (strict_types=1); |
| 4 | -namespace Dudlewebs\WPMCS\GuzzleHttp\Promise; | |
| 4 | +namespace Dudlewebs\WPMCS\GCP\GuzzleHttp\Promise; | |
| 5 | 5 | |
| 6 | 6 | interface TaskQueueInterface |
| 7 | 7 | { |
| 8 | 8 | /** |
| @@ -7,15 +7,15 @@ | ||
| 7 | 7 | { |
| 8 | 8 | /** |
| 9 | 9 | * Returns true if the queue is empty. |
| 10 | 10 | */ |
| 11 | - public function isEmpty(): bool; | |
| 11 | + public function isEmpty() : bool; | |
| 12 | 12 | /** |
| 13 | 13 | * Adds a task to the queue that will be executed the next time run is |
| 14 | 14 | * called. |
| 15 | 15 | */ |
| 16 | - public function add(callable $task): void; | |
| 16 | + public function add(callable $task) : void; | |
| 17 | 17 | /** |
| 18 | 18 | * Execute all of the pending task in the queue. |
| 19 | 19 | */ |
| 20 | - public function run(): void; | |
| 20 | + public function run() : void; | |
| 21 | 21 | } |