summaryrefslogtreecommitdiffstats
path: root/lib/public/Http/Client/IResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Http/Client/IResponse.php')
-rw-r--r--lib/public/Http/Client/IResponse.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/public/Http/Client/IResponse.php b/lib/public/Http/Client/IResponse.php
index 94817f012b3..e935067d8c2 100644
--- a/lib/public/Http/Client/IResponse.php
+++ b/lib/public/Http/Client/IResponse.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
@@ -41,18 +42,18 @@ interface IResponse {
* @return int
* @since 8.1.0
*/
- public function getStatusCode();
+ public function getStatusCode(): int;
/**
- * @param $key
+ * @param string $key
* @return string
* @since 8.1.0
*/
- public function getHeader($key);
+ public function getHeader(string $key): string;
/**
* @return array
* @since 8.1.0
*/
- public function getHeaders();
+ public function getHeaders(): array;
}