summaryrefslogtreecommitdiff
path: root/server/vendor/php-opencloud/common/src/Common/Auth/Token.php
diff options
context:
space:
mode:
Diffstat (limited to 'server/vendor/php-opencloud/common/src/Common/Auth/Token.php')
-rw-r--r--server/vendor/php-opencloud/common/src/Common/Auth/Token.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/vendor/php-opencloud/common/src/Common/Auth/Token.php b/server/vendor/php-opencloud/common/src/Common/Auth/Token.php
index 200fcee..642ea46 100644
--- a/server/vendor/php-opencloud/common/src/Common/Auth/Token.php
+++ b/server/vendor/php-opencloud/common/src/Common/Auth/Token.php
@@ -1,15 +1,15 @@
-<?php
+<?php declare(strict_types=1);
namespace OpenCloud\Common\Auth;
interface Token
{
- public function getId();
+ public function getId(): string;
/**
* Indicates whether the token has expired or not.
*
* @return bool TRUE if the token has expired, FALSE if it is still valid
*/
- public function hasExpired();
+ public function hasExpired(): bool;
}