mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 18:31:28 +00:00
fix even more warnings reported by phpstan
This commit is contained in:
@@ -40,7 +40,7 @@ class Backend extends Handler_Protected {
|
||||
|
||||
foreach ($hotkeys as $action => $description) {
|
||||
|
||||
if (is_array($omap[$action])) {
|
||||
if (!empty($omap[$action])) {
|
||||
foreach ($omap[$action] as $sequence) {
|
||||
if (strpos($sequence, "|") !== false) {
|
||||
$sequence = substr($sequence,
|
||||
|
||||
Reference in New Issue
Block a user