aboutsummaryrefslogtreecommitdiff
path: root/app/views/user
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-04-23 11:58:15 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-23 11:58:15 +0200
commit115724622fa32e1b7981e378e87ccfb770450cb1 (patch)
tree4d7072768076fd76f2f1877757f3e2e395ab2ded /app/views/user
parent8abe53d879ef188a5c1cc394894ce211fcfa9f92 (diff)
PHPStan Level 7 for ten more files (#5327)
* PHPStan Level 7 for nine more files * Minor syntax * One more
Diffstat (limited to 'app/views/user')
-rw-r--r--app/views/user/details.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/user/details.phtml b/app/views/user/details.phtml
index d5cfe731c..3387584eb 100644
--- a/app/views/user/details.phtml
+++ b/app/views/user/details.phtml
@@ -28,14 +28,14 @@
<div class="form-group">
<label class="group-name"><?= _t('admin.user.feed_count') ?></label>
<div class="group-controls">
- <?= format_number($this->details['feed_count']) ?>
+ <?= format_number($this->details['feed_count'] ?: 0) ?>
</div>
</div>
<div class="form-group">
<label class="group-name"><?= _t('admin.user.article_count') ?></label>
<div class="group-controls">
- <?= format_number($this->details['article_count']) ?>
+ <?= format_number($this->details['article_count'] ?: 0) ?>
</div>
</div>