aboutsummaryrefslogtreecommitdiff
path: root/app/Models/View.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/View.php')
-rw-r--r--app/Models/View.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Models/View.php b/app/Models/View.php
index cf5c30e15..b251e95ed 100644
--- a/app/Models/View.php
+++ b/app/Models/View.php
@@ -1,6 +1,9 @@
<?php
declare(strict_types=1);
+/**
+ * @phpstan-import-type ExtensionFullMetadata from FreshRSS_extension_Controller
+ */
class FreshRSS_View extends Minz_View {
// Main views
@@ -123,7 +126,7 @@ class FreshRSS_View extends Minz_View {
public bool $selectorSuccess;
// Extensions
- /** @var array<array{name:string,author:string,description:string,version:string,entrypoint:string,type:'system'|'user',url:string,method:string,directory:string}> */
+ /** @var list<ExtensionFullMetadata> */
public array $available_extensions;
public ?Minz_Extension $ext_details = null;
/** @var array{system:array<Minz_Extension>,user:array<Minz_Extension>} */