PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 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 All 36 releases
← All changes | includes/sdk/google/guzzlehttp/promises/src/Is.php +5 -5 1.0.3 → 1.4.2 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 final class Is
7 7 {
8 8 /**
@@ -7,9 +7,9 @@
7 7 {
8 8 /**
9 9 * Returns true if a promise is pending.
10 10 */
11 - public static function pending(PromiseInterface $promise): bool
11 + public static function pending(PromiseInterface $promise) : bool
12 12 {
13 13 return $promise->getState() === PromiseInterface::PENDING;
14 14 }
15 15 /**
@@ -14,9 +14,9 @@
14 14 }
15 15 /**
16 16 * Returns true if a promise is fulfilled or rejected.
17 17 */
18 - public static function settled(PromiseInterface $promise): bool
18 + public static function settled(PromiseInterface $promise) : bool
19 19 {
20 20 return $promise->getState() !== PromiseInterface::PENDING;
21 21 }
22 22 /**
@@ -21,9 +21,9 @@
21 21 }
22 22 /**
23 23 * Returns true if a promise is fulfilled.
24 24 */
25 - public static function fulfilled(PromiseInterface $promise): bool
25 + public static function fulfilled(PromiseInterface $promise) : bool
26 26 {
27 27 return $promise->getState() === PromiseInterface::FULFILLED;
28 28 }
29 29 /**
@@ -28,9 +28,9 @@
28 28 }
29 29 /**
30 30 * Returns true if a promise is rejected.
31 31 */
32 - public static function rejected(PromiseInterface $promise): bool
32 + public static function rejected(PromiseInterface $promise) : bool
33 33 {
34 34 return $promise->getState() === PromiseInterface::REJECTED;
35 35 }
36 36 }