aboutsummaryrefslogtreecommitdiff
path: root/app/views/stats/idle.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-05-11 12:53:32 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-11 12:53:32 +0200
commitfe7d9bbcd68660a59b813346c236b61b25a51c80 (patch)
tree95be837c2838659a3ea72974c9f9b18b1ee634ca /app/views/stats/idle.phtml
parent2343f0ded14ac6970575c23e4de34e536241b623 (diff)
Typed view model classes (#5380)
* Typed view model classes * Add ability to provide a typed view model class to a controller * Use `::class` instead of string for referring to classes * Examplified with `stats` and `javascript` controllers / views (more to do) * Also useful for extensions (my usecase today), which did not have the ability to define own view model attributes before. * Typo
Diffstat (limited to 'app/views/stats/idle.phtml')
-rw-r--r--app/views/stats/idle.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtml
index d94256860..37cc92144 100644
--- a/app/views/stats/idle.phtml
+++ b/app/views/stats/idle.phtml
@@ -1,5 +1,5 @@
<?php
- /** @var FreshRSS_View $this */
+ /** @var FreshRSS_ViewStats $this */
$this->partial('aside_subscription');
?>