PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | vendor_prefixed/guzzlehttp/promises/src/TaskQueueInterface.php +4 -5 18.1 → trunk View file →
@@ -1,6 +1,7 @@
1 1 <?php
2 2
3 +declare (strict_types=1);
3 4 namespace YoastSEO_Vendor\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 }