1
0
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:
Andrew Dolgov
2021-02-06 17:56:47 +03:00
parent c94f1b6ff8
commit 41fc03287e
4 changed files with 11 additions and 17 deletions

View File

@@ -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,