mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:35:55 +00:00
general cleanup, set some type hints
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
if (isset($options["update-feed"])) {
|
||||
try {
|
||||
|
||||
if (!RSSUtils::update_rss_feed($options["update-feed"], true))
|
||||
if (!RSSUtils::update_rss_feed((int)$options["update-feed"], true))
|
||||
exit(100);
|
||||
|
||||
} catch (PDOException $e) {
|
||||
@@ -454,7 +454,7 @@
|
||||
}
|
||||
|
||||
if (isset($options["debug-feed"])) {
|
||||
$feed = $options["debug-feed"];
|
||||
$feed = (int) $options["debug-feed"];
|
||||
|
||||
if (isset($options["force-refetch"])) $_REQUEST["force_refetch"] = true;
|
||||
if (isset($options["force-rehash"])) $_REQUEST["force_rehash"] = true;
|
||||
|
||||
Reference in New Issue
Block a user