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/google/firebase/php-jwt/src/ExpiredException.php +12 -3 1.2.21.4.1 View file →
@@ -1,16 +1,25 @@
1 1 <?php
2 2
3 -namespace Dudlewebs\WPMCS\Firebase\JWT;
3 +namespace Dudlewebs\WPMCS\GCP\Firebase\JWT;
4 4
5 5 class ExpiredException extends \UnexpectedValueException implements JWTExceptionWithPayloadInterface
6 6 {
7 7 private object $payload;
8 - public function setPayload(object $payload): void
8 + private ?int $timestamp = null;
9 + public function setPayload(object $payload) : void
9 10 {
10 11 $this->payload = $payload;
11 12 }
12 - public function getPayload(): object
13 + public function getPayload() : object
13 14 {
14 15 return $this->payload;
16 + }
17 + public function setTimestamp(int $timestamp) : void
18 + {
19 + $this->timestamp = $timestamp;
20 + }
21 + public function getTimestamp() : ?int
22 + {
23 + return $this->timestamp;
15 24 }
16 25 }