This commit is contained in:
Laurent Destailleur
2026-03-12 21:58:19 +01:00
parent 093d9634c8
commit cbf2adc238

View File

@@ -40,6 +40,12 @@
* @var string $textobject
* @var string[] $type2label
*/
'@phan-var-force string $attrname';
'@phan-var-force string $action';
'@phan-var-force string $elementtype';
'@phan-var-force string $textobject';
'@phan-var-force string[] $type2label';
// Protection to avoid direct call of template
if (empty($conf) || !is_object($conf)) {
print "Error, template page can't be called as URL";