diff options
| author | 2025-02-23 17:08:17 +0100 | |
|---|---|---|
| committer | 2025-02-23 17:08:17 +0100 | |
| commit | f7b4a1e74220af1d0db310f17ba1294862a32393 (patch) | |
| tree | 349527d1e8538233d1ed337c5888973b6a0a1ccf /app/Models/Themes.php | |
| parent | b0b75dd635831e23a4241e52a9ecd5fce0fb26b9 (diff) | |
PHPStan more checkImplicitMixed (#7339)
* PHPStan more checkImplicitMixed
* Draft Entry.php
* Finish Entry.php
* Finish FeedDAO.php and Themes.php
Diffstat (limited to 'app/Models/Themes.php')
| -rw-r--r-- | app/Models/Themes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Themes.php b/app/Models/Themes.php index 033bbe2a0..2b5bff2f7 100644 --- a/app/Models/Themes.php +++ b/app/Models/Themes.php @@ -92,14 +92,14 @@ class FreshRSS_Themes extends Minz_Model { } public static function title(string $name): string { - static $titles = [ + $titles = [ 'opml-dyn' => 'sub.category.dynamic_opml', ]; return $titles[$name] ?? ''; } public static function alt(string $name): string { - static $alts = [ + $alts = [ 'add' => '➕', //✚ 'all' => '☰', 'bookmark-add' => '➕', //✚ |
