diff options
author | wn_ <[email protected]> | 2021-11-13 14:05:43 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2021-11-13 14:05:48 +0000 |
commit | 1ec003ce352f5bf1418986d7b96c35e75231ffde (patch) | |
tree | aec9ad492da61fa7d960bad96ad51472efb251df /classes/handler/protected.php | |
parent | 25775bb4075e70aa4fad4620d077d4a0e59bb139 (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.php | 2 |
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']); } } |