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