"; } public static function h(string|int $type = 1, string $title = '', array $params = []) { $paramsStr = self::createParams($params); return "$title"; } /** * @param array $data * @return string */ public static function createParams(array $data = []): string { $paramsString = ""; foreach($data as $key => $param){ if(is_string($param)){ $paramsString .= $key . "='" . $param . "'"; } } return $paramsString; } }