PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/s3/GuzzleHttp/Promise/TaskQueueInterface.php +4 -5 1.0.21.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 interface TaskQueueInterface
6 7 {
@@ -5,18 +6,16 @@
5 6 interface TaskQueueInterface
6 7 {
7 8 /**
8 9 * Returns true if the queue is empty.
9 - *
10 - * @return bool
11 10 */
12 - public function isEmpty();
11 + public function isEmpty() : bool;
13 12 /**
14 13 * Adds a task to the queue that will be executed the next time run is
15 14 * called.
16 15 */
17 - public function add(callable $task);
16 + public function add(callable $task) : void;
18 17 /**
19 18 * Execute all of the pending task in the queue.
20 19 */
21 - public function run();
20 + public function run() : void;
22 21 }