summaryrefslogtreecommitdiff
path: root/classes/handler/protected.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-13 14:05:43 +0000
committerwn_ <[email protected]>2021-11-13 14:05:48 +0000
commit1ec003ce352f5bf1418986d7b96c35e75231ffde (patch)
treeaec9ad492da61fa7d960bad96ad51472efb251df /classes/handler/protected.php
parent25775bb4075e70aa4fad4620d077d4a0e59bb139 (diff)
Typing IHandler methods, typing Handler_Public, fix type of $feed_id (might be tag).
Diffstat (limited to 'classes/handler/protected.php')
-rw-r--r--classes/handler/protected.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/protected.php b/classes/handler/protected.php
index 8e9e5ca1d..a15fc0956 100644
--- a/classes/handler/protected.php
+++ b/classes/handler/protected.php
@@ -1,7 +1,7 @@
<?php
class Handler_Protected extends Handler {
- function before($method) {
+ function before(string $method): bool {
return parent::before($method) && !empty($_SESSION['uid']);
}
}