aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/display.phtml
diff options
context:
space:
mode:
authorGravatar Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> 2023-04-07 12:32:10 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-07 12:32:10 +0200
commitd23d10bcde1a9b86c784d58b891f61e740e0124e (patch)
tree6f907e5d13a04832b3350286b1b847fbb3842ee7 /app/views/configure/display.phtml
parent6c01e4e7d6c177ac345c826059e585bffdd1d517 (diff)
Phpstan Level6 for View.php (#5269)
* Remarque's from Alkarex * indentation * indentation * Apply suggestions from code review Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Remarque's from Alkarex * A few improvements * Remarque's from Alkarex * Remarque's from Alkarex * Remarque's from Alkarex * Remarque's from Alkarex * Fixes and improvments * Fix getTagsForEntry --------- Co-authored-by: Luc <sanchezluc+freshrss@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/configure/display.phtml')
-rw-r--r--app/views/configure/display.phtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index de880579e..1c415390a 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -49,7 +49,8 @@
<div class="group-controls">
<ul class="slides">
<?php $slides = count($this->themes); $i = 1; $themeAvailable = false; ?>
- <?php foreach($this->themes as $theme) { ?>
+ <?php /** @var array{'id':string, 'deprecated':bool, 'author':string, 'name':string, 'description':string} $theme */
+ foreach($this->themes as $theme) { ?>
<?php if (FreshRSS_Context::$user_conf->theme === $theme['id']) {
$checked = 'checked="checked"';
$themeAvailable = true;