summaryrefslogtreecommitdiffstats
path: root/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-26 11:18:21 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-26 11:31:02 +0200
commit24b12385d0e5f7483a64f2abf543f9c4e09a6eaa (patch)
tree28e6811140d6ebf90e7effd53b5a74976560cccf /lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php
parente2b44d199bea7da74811689ec3ab787135e22de6 (diff)
downloadnextcloud-server-24b12385d0e5f7483a64f2abf543f9c4e09a6eaa.tar.gz
nextcloud-server-24b12385d0e5f7483a64f2abf543f9c4e09a6eaa.zip
Strict 2FA
* make OCP\Authentication\TwoFactorAuth strict * scalar types * return types Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php')
-rw-r--r--lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php b/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php
index 2a498adc0b8..3b477dc53fe 100644
--- a/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php
+++ b/lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
*
*
@@ -35,5 +36,5 @@ interface IProvidesCustomCSP {
*
* @since 13.0.0
*/
- public function getCSP();
+ public function getCSP(): ContentSecurityPolicy;
}