summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-22 12:18:54 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-22 16:32:04 +0100
commit5aa0d83268fc6781d50c38b869cbad31d65377eb (patch)
treed696f2e8d68193e2131c20bde5e55c2a6f0754dd /lib/public
parentc30b9dacae2d10f75562141479c02b8f941c4181 (diff)
downloadnextcloud-server-5aa0d83268fc6781d50c38b869cbad31d65377eb.tar.gz
nextcloud-server-5aa0d83268fc6781d50c38b869cbad31d65377eb.zip
Remove type declarations where not yet possible
Because we don't return consistent things yet :( Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/User/Backend/ICheckPasswordBackend.php2
-rw-r--r--lib/public/User/Backend/ICountUsersBackend.php2
-rw-r--r--lib/public/User/Backend/IGetDisplayNameBackend.php2
-rw-r--r--lib/public/User/Backend/IGetHomeBackend.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/User/Backend/ICheckPasswordBackend.php b/lib/public/User/Backend/ICheckPasswordBackend.php
index 62a7f6e27c4..858c2d8c7da 100644
--- a/lib/public/User/Backend/ICheckPasswordBackend.php
+++ b/lib/public/User/Backend/ICheckPasswordBackend.php
@@ -31,5 +31,5 @@ interface ICheckPasswordBackend {
/**
* @since 14.0.0
*/
- public function checkPassword(string $loginName, string $password): string;
+ public function checkPassword(string $loginName, string $password);
}
diff --git a/lib/public/User/Backend/ICountUsersBackend.php b/lib/public/User/Backend/ICountUsersBackend.php
index c7f6a102b74..358557920da 100644
--- a/lib/public/User/Backend/ICountUsersBackend.php
+++ b/lib/public/User/Backend/ICountUsersBackend.php
@@ -32,5 +32,5 @@ interface ICountUsersBackend {
/**
* @since 14.0.0
*/
- public function countUsers(): int;
+ public function countUsers();
}
diff --git a/lib/public/User/Backend/IGetDisplayNameBackend.php b/lib/public/User/Backend/IGetDisplayNameBackend.php
index 403f5afce53..f703e17157a 100644
--- a/lib/public/User/Backend/IGetDisplayNameBackend.php
+++ b/lib/public/User/Backend/IGetDisplayNameBackend.php
@@ -32,5 +32,5 @@ interface IGetDisplayNameBackend {
/**
* @since 14.0.0
*/
- public function getDisplayName(string $uid): string;
+ public function getDisplayName($uid): string;
}
diff --git a/lib/public/User/Backend/IGetHomeBackend.php b/lib/public/User/Backend/IGetHomeBackend.php
index 3f19c1246a8..607070932e8 100644
--- a/lib/public/User/Backend/IGetHomeBackend.php
+++ b/lib/public/User/Backend/IGetHomeBackend.php
@@ -32,5 +32,5 @@ interface IGetHomeBackend {
/**
* @since 14.0.0
*/
- public function getHome(string $uid): string;
+ public function getHome(string $uid);
}