summaryrefslogtreecommitdiff
path: root/classes/handler/administrative.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/administrative.php
parent25775bb4075e70aa4fad4620d077d4a0e59bb139 (diff)
Typing IHandler methods, typing Handler_Public, fix type of $feed_id (might be tag).
Diffstat (limited to 'classes/handler/administrative.php')
-rw-r--r--classes/handler/administrative.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/administrative.php b/classes/handler/administrative.php
index f2f5b36ba..533cb3630 100644
--- a/classes/handler/administrative.php
+++ b/classes/handler/administrative.php
@@ -1,6 +1,6 @@
<?php
class Handler_Administrative extends Handler_Protected {
- function before($method) {
+ function before(string $method): bool {
if (parent::before($method)) {
if (($_SESSION["access_level"] ?? 0) >= UserHelper::ACCESS_LEVEL_ADMIN) {
return true;