summaryrefslogtreecommitdiff
path: root/classes/handler/protected.php
diff options
context:
space:
mode:
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']);
}
}