aboutsummaryrefslogtreecommitdiff
path: root/p/api
diff options
context:
space:
mode:
authorGravatar Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> 2022-11-14 15:07:23 +0100
committerGravatar GitHub <noreply@github.com> 2022-11-14 15:07:23 +0100
commitd9e1c1c2c3abb6cf91b6866961d2a482ef50c3ea (patch)
tree5beb69c38870771d4c7239dc9a3dba7ca508fde0 /p/api
parenta44e2a0d0c35c63a94abfc482955c23d9d823e4a (diff)
Typing function checkToken (#4561)
* Typing function checkToken * Typing function and rename Co-authored-by: Luc SANCHEZ <luc.sanchez@zol.fr>
Diffstat (limited to 'p/api')
-rw-r--r--p/api/greader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index b08013850..afca1afaf 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -220,7 +220,7 @@ function token($conf) {
exit();
}
-function checkToken($conf, $token) {
+function checkToken(FreshRSS_UserConfiguration $conf, string $token) {
//http://code.google.com/p/google-reader-api/wiki/ActionToken
$user = Minz_Session::param('currentUser', '_');
if ($user !== '_' && ( //TODO: Check security consequences