Move HTML function, fix types

This commit is contained in:
Jakub Vrana
2025-03-29 18:08:55 +01:00
parent 79f5280f3d
commit 87f149ce1d
3 changed files with 16 additions and 18 deletions

View File

@@ -64,7 +64,7 @@ class Plugins {
* @param mixed[] $params
* @return mixed
*/
function __call($name, array $params) {
function __call(string $name, array $params) {
$args = array();
foreach ($params as $key => $val) {
// some plugins accept params by reference - we don't need to propage it outside, just to the other plugins