mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-24 07:07:10 +00:00
fix some more warnings reported by phpstan
This commit is contained in:
@@ -136,7 +136,7 @@ class Dlg extends Handler_Protected {
|
||||
// and add the $min_size set above
|
||||
$size = round($min_size + (($value - $min_qty) * $step));
|
||||
|
||||
$key_escaped = str_replace("'", "\\'", $key);
|
||||
$key_escaped = str_replace("'", "\\'", (string)$key);
|
||||
|
||||
echo "<a href=\"#\" onclick=\"Feeds.open({feed:'$key_escaped'}) \" style=\"font-size: " .
|
||||
$size . "px\" title=\"$value articles tagged with " .
|
||||
|
||||
Reference in New Issue
Block a user