mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:45:56 +00:00
Typing IHandler methods, typing Handler_Public, fix type of $feed_id (might be tag).
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user