diff options
| author | 2024-01-30 12:57:14 +0100 | |
|---|---|---|
| committer | 2024-01-30 12:57:14 +0100 | |
| commit | 06570b30f0af1b4e4b4f1723bbb2ad0a4b83db6c (patch) | |
| tree | 4dab12abe182e4a6dd76c1a62b2a30b32841e811 /lib | |
| parent | 4d95ef71642b4f5b17e4a56fdaf1561439f0dadf (diff) | |
composer update (#6075)
Update PHPStan, fixing some bugs needed for https://github.com/FreshRSS/FreshRSS/pull/6052
(One syntax fix caught by new version)
Update also PHPUnit
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 62fe87375..9dfb26405 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -842,7 +842,7 @@ function getNonStandardShortcuts(array $shortcuts): array { $nonStandard = array_filter($shortcuts, static function (string $shortcut) use ($standard) { $shortcut = trim($shortcut); - return $shortcut !== '' & stripos($standard, $shortcut) === false; + return $shortcut !== '' && stripos($standard, $shortcut) === false; }); return $nonStandard; |
